PostSharp 6.9 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Custom Namespace / Logging­Property­Visitor­Options Structure

LoggingPropertyVisitorOptions Structure

Namespace:  PostSharp.Patterns.Diagnostics.Custom
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.9.7.0 (6.9.7.0)
Syntax
C#
public readonly struct LoggingPropertyVisitorOptions

The LoggingPropertyVisitorOptions type exposes the following members.

Constructors
  NameDescription
Public methodLoggingPropertyVisitorOptions
Initializes a new LoggingPropertyVisitorOptions.
Properties
  NameDescription
Public propertyIncludeInherited
Determines if inherited properties must be included. This flag is taken into account by the visitors implemented on the logging contexts only. It is ignored by other visiting methods.
Public propertyOnlyInherited
Determines if only inherited properties (those with the LoggingPropertyOptions.IsInherited flag set to true) must be visited.
Public propertyOnlyRendered
Determines if only rendered properties must be visited.
Methods
  NameDescription
Public methodWithIncludeInherited
Returns a copy of the current LoggingPropertyVisitorOptions but with a specific value of the IncludeInherited property.
Public methodWithOnlyInherited
Returns a copy of the current LoggingPropertyVisitorOptions but with a specific value of the OnlyInherited property.
Public methodWithOnlyRendered
Returns a copy of the current LoggingPropertyVisitorOptions but with a specific value of the OnlyRendered property.
See Also