Esempio n. 1
0
 public BindingRegistry(IInterceptionRule interceptionPolicy)
 {
     this.interceptionPolicy = interceptionPolicy;
 }
Esempio n. 2
0
 public ObjectFactory(IActivationStrategy innerActivationStrategy, IInterceptionRule interceptionRule) :
     base(innerActivationStrategy)
 {
     this.interceptionRule = interceptionRule;
 }
Esempio n. 3
0
 public void Add(IInterceptionRule rule) => rules.Add(rule);
Esempio n. 4
0
 public static void Intercept(this IBindableIocService service, IInterceptionRule rule) =>
 service.InterceptionPolicy.Add(rule);
 public CachedResolutionPolicy(IInterceptionRule interceptionPolicy)
 {
     registry = new BindingRegistry(interceptionPolicy);
 }