PipelineAnnotations class
Namespace: Vitreous
Assembly: Vitreous.dll
Mutable bag of annotations written by pipeline behaviors during a single dispatch. Current holds the instance for the current async call chain.
public sealed class PipelineAnnotationsInheritance
Section titled “Inheritance”Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Remarks
Section titled “Remarks”Behaviors set properties on this object; outer behaviors (e.g. tracing) read them
after next() returns. Because it is a reference type stored in an
AsyncLocal<T>, mutations are visible across the
async call chain without needing to propagate values back up through return values.
Properties
Section titled “Properties”IsCacheHit
Section titled “ IsCacheHit”Set to true by the caching behavior when the result was served from cache rather than from the handler. Always false when the caching package is not in use.
public bool IsCacheHit { get; set; }