CacheContainerKey.Dimensions Property

Definition

Gets a dictionary of arbitrary key=value pairs that serve as part of the "key" to the container.

public:
 property System::Collections::Immutable::ImmutableSortedDictionary<System::String ^, System::String ^> ^ Dimensions { System::Collections::Immutable::ImmutableSortedDictionary<System::String ^, System::String ^> ^ get(); };
[System.Runtime.Serialization.DataMember(Order=1)]
public System.Collections.Immutable.ImmutableSortedDictionary<string,string?> Dimensions { get; }
[<System.Runtime.Serialization.DataMember(Order=1)>]
member this.Dimensions : System.Collections.Immutable.ImmutableSortedDictionary<string, string>
Public ReadOnly Property Dimensions As ImmutableSortedDictionary(Of String, String)

Property Value

A dictionary whose keys are always sorted by the Ordinal.

Attributes

Remarks

A null value is considered equivalent to an empty dictionary for purposes of looking up a cached value.

Please see remarks on ICacheService for best practices for the data contained here to enable cache sharing across machines.

Examples dimensions: Configuration=Debug, Path="src/a/b/c.cs".

Applies to