Determines the behavior of the VisitProperties<TVisitorState>(ILoggingPropertyVisitor<TVisitorState>, ref TVisitorState, in LoggingPropertyVisitorOptions) method.
Namespace: Flashtrace.Records
Assembly: Flashtrace.dll
Syntax
public readonly struct LoggingPropertyVisitorOptionsConstructors
| Name | Description |
|---|---|
| LoggingPropertyVisitorOptions(bool, bool, bool) | Initializes a new instance of the LoggingPropertyVisitorOptions struct. |
Properties
| Name | Description |
|---|---|
| IncludeInherited | Gets a value indicating whether 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 | Gets a value indicating whether only inherited properties (those with the IsInherited flag set to |
| OnlyRendered | Gets a value indicating whether 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. |