MetalamaAPI documentationFlashtrace APIFlashtrace.​RecordsLogging­Property­Visitor­Options
Open sandboxFocus

LoggingPropertyVisitorOptions Class

Inheritance
System.Object
LoggingPropertyVisitorOptions
Namespace: Flashtrace.Records
Assembly: Flashtrace.dll
Syntax
public sealed class LoggingPropertyVisitorOptions : ValueType

Constructors

Name Description
LoggingPropertyVisitorOptions(Boolean, Boolean, Boolean)

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 true) must be visited.

OnlyRendered

Gets a value indicating whether only rendered properties must be visited.

Methods

Name Description
WithIncludeInherited(Boolean)

Returns a copy of the current LoggingPropertyVisitorOptions but with a specific value of the IncludeInherited property.

WithOnlyInherited(Boolean)

Returns a copy of the current LoggingPropertyVisitorOptions but with a specific value of the OnlyInherited property.

WithOnlyRendered(Boolean)

Returns a copy of the current LoggingPropertyVisitorOptions but with a specific value of the OnlyRendered property.