<PackageReference Include="Polly.Core" Version="8.0.0-alpha.4" />

ResiliencePropertyKey<TValue>

public struct ResiliencePropertyKey<TValue> : IEquatable<ResiliencePropertyKey<TValue>>
Represents a key used by ResilienceProperties.
public string Key { get; }

Gets the name of the key.

public ResiliencePropertyKey(string key)

Initializes a new instance of the ResiliencePropertyKey<T> struct.

public static bool op_Equality(ResiliencePropertyKey<TValue> left, ResiliencePropertyKey<TValue> right)

The operator to compare two instances of ResiliencePropertyKey<T> for equality.

public static bool op_Inequality(ResiliencePropertyKey<TValue> left, ResiliencePropertyKey<TValue> right)

The operator to compare two instances of ResiliencePropertyKey<T> for inequality.

public bool Equals(ResiliencePropertyKey<TValue> other)