PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Adapters.​Asp­Net­Framework Namespace / Asp­Net­Framework­Request­Metadata(T) Class / Asp­Net­Framework­Request­Metadata(T) Methods / Asp­Net­Framework­Request­Metadata(T).​Visit­Properties Method / Asp­Net­Framework­Request­Metadata(T).​Visit­Properties(TVisitor­State) Method (Http­Context, ILogging­Property­Visitor(TVisitor­State), TVisitor­State, Logging­Property­Visitor­Options)

AspNetFrameworkRequestMetadata<T>.VisitProperties<TVisitorState> Method (HttpContext, ILoggingPropertyVisitor<TVisitorState>, TVisitorState, LoggingPropertyVisitorOptions)

Invokes the Visit<TValue>(String, TValue, LoggingPropertyOptions, TState) method for all properties defined from a given HttpContext.

Namespace:  PostSharp.Patterns.Diagnostics.Adapters.AspNetFramework
Assembly:  PostSharp.Patterns.Diagnostics.Adapters.AspNetFramework (in PostSharp.Patterns.Diagnostics.Adapters.AspNetFramework.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
protected virtual void VisitProperties<TVisitorState>(
	HttpContext httpContext,
	ILoggingPropertyVisitor<TVisitorState> visitor,
	ref TVisitorState visitorState,
	 in LoggingPropertyVisitorOptions visitorOptions
)

Parameters

httpContext
Type: System.Web.HttpContext
visitor
Type: PostSharp.Patterns.Diagnostics.Custom.ILoggingPropertyVisitor<TVisitorState>
The visitor whose Visit<TValue>(String, TValue, LoggingPropertyOptions, TState) method is invoked.
visitorState
Type: TVisitorState
An opaque state passed to the visitor.
visitorOptions
Type: PostSharp.Patterns.Diagnostics.Custom.LoggingPropertyVisitorOptionsInAttribute
Visitor options.

Type Parameters

TVisitorState
The type of the opaque state passed to visitor.
See Also