Determines the behavior of the VisitProperties<TVisitorState>(ILoggingPropertyVisitor<TVisitorState>, ref TVisitorState, in LoggingPropertyVisitorOptions) method.
Namespace: PostSharp.Patterns.Diagnostics.Custom
Assembly: PostSharp.Patterns.Common.dll
Syntax
public readonly struct LoggingPropertyVisitorOptionsConstructors
| Name | Description |
|---|---|
| LoggingPropertyVisitorOptions(bool, bool, bool) | Initializes a new LoggingPropertyVisitorOptions. |
Properties
| 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 IsInherited flag set to |
| OnlyRendered | Determines if only rendered properties must be visited. |
Methods
| Name | Description |
|---|---|
| WithIncludeInherited(bool) | Returns a copy of the current LoggingPropertyVisitorOptions but with a specific value of the IncludeInherited property. |
| WithOnlyInherited(bool) | Returns a copy of the current LoggingPropertyVisitorOptions but with a specific value of the OnlyInherited property. |
| WithOnlyRendered(bool) | Returns a copy of the current LoggingPropertyVisitorOptions but with a specific value of the OnlyRendered property. |