IReadOnlyPolicyRegistry<TKey>
public interface IReadOnlyPolicyRegistry<TKey> : IEnumerable<KeyValuePair<TKey, IsPolicy>>, IEnumerable
Represents a read-only collection of policies keyed by TKey.
Total number of policies in the registry.
Gets the IsPolicy with the specified key.
To retrieve a policy directly as a particular Policy type or Policy interface (avoiding a cast), use the Get<T> method.
Determines whether the specified key exists.
Gets the policy stored under the provided key, casting to TPolicy.
Gets the policy stored under the provided key, casting to TPolicy.