PostSharp / / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Custom / Logging­Property­Options / With­Is­Inherited
Open sandbox

Method WithIsInherited

WithIsInherited(Boolean)

Returns a copy of the current LoggingPropertyOptions but with a different value of the IsInherited property.

Declaration
public LoggingPropertyOptions WithIsInherited(bool value)
Parameters
Type Name Description
Boolean value

New value of the IsInherited property.

Returns
Type Description
LoggingPropertyOptions