Show / Hide Table of Contents

Class AbpCorrelationIdMiddleware

Inheritance
System.Object
AbpCorrelationIdMiddleware
Implements
ITransientDependency
Namespace: Volo.Abp.AspNetCore.Tracing
Assembly: Volo.Abp.AspNetCore.dll
Syntax
public class AbpCorrelationIdMiddleware : IMiddleware, ITransientDependency

Constructors

AbpCorrelationIdMiddleware(IOptions<AbpCorrelationIdOptions>, ICorrelationIdProvider)

Declaration
public AbpCorrelationIdMiddleware(IOptions<AbpCorrelationIdOptions> options, ICorrelationIdProvider correlationIdProvider)
Parameters
Type Name Description
IOptions<AbpCorrelationIdOptions> options
ICorrelationIdProvider correlationIdProvider

Methods

CheckAndSetCorrelationIdOnResponse(HttpContext, AbpCorrelationIdOptions, String)

Declaration
protected virtual void CheckAndSetCorrelationIdOnResponse(HttpContext httpContext, AbpCorrelationIdOptions options, string correlationId)
Parameters
Type Name Description
HttpContext httpContext
AbpCorrelationIdOptions options
System.String correlationId

InvokeAsync(HttpContext, RequestDelegate)

Declaration
public Task InvokeAsync(HttpContext context, RequestDelegate next)
Parameters
Type Name Description
HttpContext context
RequestDelegate next
Returns
Type Description
System.Threading.Tasks.Task

Implements

ITransientDependency

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft