PolicyRegistry
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.
public PolicyRegistry()
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.
Removes the stored Policy under specified key from the registry.
Gets the policy stored under the provided key, casting to TPolicy.