PostSharp.ILAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​CustomLogging­Property­Visitor­Options
Open sandboxFocus

LoggingPropertyVisitorOptions Class

Inheritance
LoggingPropertyVisitorOptions
Namespace: PostSharp.Patterns.Diagnostics.Custom
Assembly: PostSharp.Patterns.Common.dll
Syntax
public sealed class LoggingPropertyVisitorOptions : ValueType

Constructors

Name Description
LoggingPropertyVisitorOptions(Boolean, Boolean, Boolean)

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

OnlyRendered

Determines if 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.