PostSharp.ILAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​CustomLogging­Property­Visitor­OptionsWith­Only­Rendered
Open sandboxFocus

LoggingPropertyVisitorOptions.WithOnlyRendered Method

WithOnlyRendered(Boolean)

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

Declaration
public LoggingPropertyVisitorOptions WithOnlyRendered(bool value = true)
Parameters
Type Name Description
System.Boolean value

The new value of the OnlyRendered property.

Returns
Type Description
LoggingPropertyVisitorOptions