AspNetFrameworkRequestMetadata<T>.VisitProperties Method
VisitProperties<TVisitorState>(HttpContext, ILoggingPropertyVisitor<TVisitorState>, ref TVisitorState, in LoggingPropertyVisitorOptions)
Invokes the Visit<TValue>(String, TValue, in LoggingPropertyOptions, ref TState) method for all properties defined from a given System.Web.HttpContext.
Declaration
protected virtual void VisitProperties<TVisitorState>(HttpContext httpContext, ILoggingPropertyVisitor<TVisitorState> visitor, ref TVisitorState visitorState, in LoggingPropertyVisitorOptions visitorOptions)
Parameters
Type | Name | Description |
---|---|---|
System.Web.HttpContext | httpContext | |
ILoggingPropertyVisitor<TVisitorState> | visitor | The visitor whose Visit<TValue>(String, TValue, in LoggingPropertyOptions, ref TState) method is invoked. |
TVisitorState | visitorState | An opaque state passed to the |
LoggingPropertyVisitorOptions | visitorOptions | Visitor options. |
Type Parameters
Name | Description |
---|---|
TVisitorState | The type of the opaque state passed to |
VisitProperties<TVisitorState>(Object, ILoggingPropertyVisitor<TVisitorState>, ref TVisitorState, in LoggingPropertyVisitorOptions)
Declaration
public sealed override void VisitProperties<TVisitorState>(object data, ILoggingPropertyVisitor<TVisitorState> visitor, ref TVisitorState visitorState, in LoggingPropertyVisitorOptions visitorOptions = null)
Parameters
Type | Name | Description |
---|---|---|
Object | data | |
ILoggingPropertyVisitor<TVisitorState> | visitor | |
TVisitorState | visitorState | |
LoggingPropertyVisitorOptions | visitorOptions |
Type Parameters
Name | Description |
---|---|
TVisitorState |