PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​CustomLogging­Property­Visitor­OptionsLogging­Property­Visitor­Options
Open sandboxFocus

LoggingPropertyVisitorOptions Constructor

LoggingPropertyVisitorOptions(Boolean, Boolean, Boolean)

Initializes a new LoggingPropertyVisitorOptions.

public LoggingPropertyVisitorOptions(bool onlyInherited = false, bool includeInherited = false, bool onlyRendered = false)
Type Name Description
Boolean onlyInherited

Determines if only inherited properties (those with the IsInherited flag set to true) must be visited.

Boolean 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.

Boolean onlyRendered

Determines if only rendered properties must be visited.