OperationContextInitializer
Namespace: MJCZone.DapperMatic.AspNetCore
Assembly: MJCZone.DapperMatic.AspNetCore
Summary
Default implementation of IOperationContextInitializer that populates basic HTTP context information.
Inheritance
Implemented Interfaces:
public
Contents
Constructors (1) | Methods (5) | Fields (1)
Constructors
OperationContextInitializer
csharp
OperationContextInitializer()Methods
InitializeAsync
Initializes a new instance of the OperationContextInitializer class.
csharp
Task InitializeAsync(IOperationContext context, HttpContext httpContext)Parameters
- context (IOperationContext) - The operation context to initialize.
- httpContext (HttpContext) - The HTTP context for the current request.
Returns
Type: Task
A task representing the asynchronous operation.
GetType
csharp
GetType()ToString
csharp
ToString()Equals
csharp
Equals()GetHashCode
csharp
GetHashCode()Fields
HeadersToInclude
List of HTTP headers to include in the operation context for potential custom initialization.
Type: object