Open sandboxFocus
  • Article

Method WithOnlyInherited

WithOnlyInherited(bool)

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

The new value of the OnlyInherited property.

Returns
Type Description
LoggingPropertyVisitorOptions
  • Navigation