PostSharp//API Reference/Post­Sharp.​Patterns.​Diagnostics.​Custom/Logging­Property­Visitor­Options/Logging­Property­Visitor­Options
Open sandboxFocus

Constructor LoggingPropertyVisitorOptions

LoggingPropertyVisitorOptions(Boolean, Boolean, Boolean)

Initializes a new LoggingPropertyVisitorOptions.

Declaration
public LoggingPropertyVisitorOptions(bool onlyInherited = false, bool includeInherited = false, bool onlyRendered = false)
Parameters
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.