PostSharp 6.9 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Custom Namespace / Logging­Property­Visitor­Options Structure / Logging­Property­Visitor­Options Methods / Logging­Property­Visitor­Options.​With­Only­Rendered Method

LoggingPropertyVisitorOptions.WithOnlyRendered Method

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

Namespace:  PostSharp.Patterns.Diagnostics.Custom
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.9.11.0 (6.9.11.0)
Syntax
C#
public LoggingPropertyVisitorOptions WithOnlyRendered(
	bool value = true
)

Parameters

value (Optional)
Type: System.Boolean
The new value of the OnlyRendered property.

Return Value

Type: LoggingPropertyVisitorOptions
See Also