PolicyRegistry
public class PolicyRegistry : IPolicyRegistry<string>, IReadOnlyPolicyRegistry<string>, IEnumerable<KeyValuePair<string, IsPolicy>>, IEnumerable
Stores a registry of String and policy pairs.
Total number of policies in the registry.
Gets of sets 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.
A registry of policy policies with String keys.
Adds an element with the provided key and policy to the registry.
Removes all keys and policies from registry.
Determines whether the specified key exists.
Gets the policy stored under the provided key, casting to TPolicy.
Returns an enumerator that iterates through the policy objects in the PolicyRegistry.
Removes the policy stored under the specified key from the registry.
Gets the policy stored under the provided key, casting to TPolicy.