Exemple #1
0
 public void Set(Type type, string name, Type policyInterface, object policy)
 {
     if (_type != type || _name != name)
     {
         _container.SetPolicy(type, name, policyInterface, policy);
     }
     else
     {
         _registration.Set(policyInterface, policy);
     }
 }