PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​CustomLogging­Property­Visitor­OptionsWith­Only­Inherited
Open sandboxFocus

LoggingPropertyVisitorOptions.WithOnlyInherited Method

WithOnlyInherited(Boolean)

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

Declaration
public LoggingPropertyVisitorOptions WithOnlyInherited(bool value = true)
Parameters
Type Name Description
Boolean value

The new value of the OnlyInherited property.

Returns
Type Description
LoggingPropertyVisitorOptions