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

Method WithOnlyRendered

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

The new value of the OnlyRendered property.

Returns
Type Description
LoggingPropertyVisitorOptions