LoggingContext.VisitProperties<TState> Method (ILoggingPropertyVisitor<TState>, TState, LoggingPropertyVisitorOptions) |
Invokes the Visit<TValue>(String, TValue, LoggingPropertyOptions, TState) method
of an interface implementation for each property on the current context, and, optionally, for inherited properties in ancestor contexts.
Namespace: PostSharp.Patterns.Diagnostics.Contexts
Assembly: PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.10.10.0 (6.10.10.0)
C#
public void VisitProperties<TState>( ILoggingPropertyVisitor<TState> visitor, ref TState state, in LoggingPropertyVisitorOptions options = null )
Parameters
- visitor
- Type: PostSharp.Patterns.Diagnostics.Custom.ILoggingPropertyVisitor<TState>
The visitor implementation. - state
- Type: TState
The opaque state passed through to the visitor. - options (Optional)
- Type: PostSharp.Patterns.Diagnostics.Custom.LoggingPropertyVisitorOptions
Visitor options.
Type Parameters
- TState
- The type of the opaque state passed through to the visitor.