LoggingPropertyVisitorOptions Structure |
Determines the behavior of the VisitProperties<TVisitorState>(ILoggingPropertyVisitor<TVisitorState>, TVisitorState, LoggingPropertyVisitorOptions)
method.
Namespace: PostSharp.Patterns.Diagnostics.Custom
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public readonly struct LoggingPropertyVisitorOptions
The LoggingPropertyVisitorOptions type exposes the following members.
Name | Description | |
---|---|---|
LoggingPropertyVisitorOptions |
Initializes a new LoggingPropertyVisitorOptions.
|
Name | Description | |
---|---|---|
IncludeInherited |
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.
| |
OnlyInherited |
Determines if only inherited properties (those with the LoggingPropertyOptions.IsInherited flag set to true)
must be visited.
| |
OnlyRendered |
Determines if only rendered properties must be visited.
|
Name | Description | |
---|---|---|
WithIncludeInherited |
Returns a copy of the current LoggingPropertyVisitorOptions but with a specific value of the IncludeInherited property.
| |
WithOnlyInherited |
Returns a copy of the current LoggingPropertyVisitorOptions but with a specific value of the OnlyInherited property.
| |
WithOnlyRendered |
Returns a copy of the current LoggingPropertyVisitorOptions but with a specific value of the OnlyRendered property.
|