Class CorrelationIdentifierOptions
Configuration options for CorrelationIdentifierMiddleware.
Inheritance
System.Object
CorrelationIdentifierOptions
Namespace: Cuemon.AspNetCore.Http.Headers
Assembly: Cuemon.AspNetCore.dll
Syntax
public class CorrelationIdentifierOptions
Constructors
| Improve this DocCorrelationIdentifierOptions()
Initializes a new instance of the CorrelationIdentifierOptions class.
Declaration
public CorrelationIdentifierOptions()
Remarks
The following table shows the initial property values for an instance of CorrelationIdentifierOptions.
Property | Initial Value |
---|---|
HeaderName | X-Correlation-ID |
CorrelationProvider | DynamicCorrelation.Create(Guid.NewGuid().ToString("N") |
Properties
| Improve this DocCorrelationProvider
Gets or sets the function delegate that provides the correlation implementation.
Declaration
public Func<ICorrelation> CorrelationProvider { get; set; }
Property Value
Type | Description |
---|---|
System.Func<ICorrelation> | The function delegate that provides the correlation implementation. |
HeaderName
Gets or sets the name of the correlation identifier HTTP header.
Declaration
public string HeaderName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the correlation identifier HTTP header. |