VisitProperties<TVisitorState>(object?, ILoggingPropertyVisitor<TVisitorState>, ref TVisitorState, in LoggingPropertyVisitorOptions)
Invokes an action for each property in the raw CLR object of a LogEventData.
Declaration
public virtual void VisitProperties<TVisitorState>(object? data, ILoggingPropertyVisitor<TVisitorState> visitor, ref TVisitorState visitorState, in LoggingPropertyVisitorOptions visitorOptions = default)Parameters
| Type | Name | Description |
|---|---|---|
| object | data | The raw CLR object, typically Data. |
| ILoggingPropertyVisitor<TVisitorState> | visitor | The visitor. |
| TVisitorState | visitorState | An opaque value passed to |
| LoggingPropertyVisitorOptions | visitorOptions | Determines which properties need to be visited. By default, all properties are visited. |
Type Parameters
| Name | Description |
|---|---|
| TVisitorState | The type of the |