PostSharp 6.10 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Custom Namespace / Logging­Property­Visitor­Options Structure / Logging­Property­Visitor­Options Constructor

LoggingPropertyVisitorOptions Constructor

Initializes a new LoggingPropertyVisitorOptions.

Namespace:  PostSharp.Patterns.Diagnostics.Custom
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: (
public LoggingPropertyVisitorOptions(
	bool onlyInherited = false,
	bool includeInherited = false,
	bool onlyRendered = false


onlyInherited (Optional)
Type: System.Boolean
Determines if only inherited properties (those with the LoggingPropertyOptions.IsInherited flag set to true) must be visited.
includeInherited (Optional)
Type: System.Boolean
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.
onlyRendered (Optional)
Type: System.Boolean
Determines if only rendered properties must be visited.
See Also