Class RequestContextFeature
Default implementation of IRequestContextFeature.
public sealed class RequestContextFeature : IRequestContextFeature
- Inheritance
-
RequestContextFeature
- Implements
- Inherited Members
Constructors
RequestContextFeature()
Constructs an empty request context feature.
public RequestContextFeature()
RequestContextFeature(IReadOnlyDictionary<string, string>)
Constructs a request context feature wrapping the specified dictionary.
public RequestContextFeature(IReadOnlyDictionary<string, string> value)
Parameters
valueIReadOnlyDictionary<string, string>The dictionary held by the new feature. It is copied to an ImmutableDictionary<TKey, TValue> unless it is already one, so post-construction mutations to
valuecannot alter the feature.
Properties
Value
Gets the value of this feature.
public IReadOnlyDictionary<string, string> Value { get; }
Property Value
- IReadOnlyDictionary<string, string>
The request context.