IPolicyRegistry<TKey>
Represents a collection of policies keyed by TKey.
Gets or 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.
Adds an element with the provided key and policy to the registry.
void Clear()
Removes all keys and policies from registry.
Removes the specified Policy from the registry.