/// <summary>
 /// Initializes a new instance of the <see cref="MethodInterceptorRegistrationStrategy"/> class.
 /// </summary>
 /// <param name="adviceFactory">The advice factory.</param>
 /// <param name="adviceRegistry">The advice registry.</param>
 /// <param name="methodInterceptorRegistry">The method interceptor registry.</param>
 public MethodInterceptorRegistrationStrategy(IAdviceFactory adviceFactory,
                                              IAdviceRegistry adviceRegistry,
                                              IMethodInterceptorRegistry methodInterceptorRegistry)
     : base(adviceFactory, adviceRegistry)
 {
     MethodInterceptorRegistry = methodInterceptorRegistry;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ProxyActivationStrategy"/> class.
 /// </summary>
 /// <param name="adviceRegistry">The advice registry.</param>
 /// <param name="proxyFactory">The proxy factory.</param>
 public ProxyActivationStrategy(IAdviceRegistry adviceRegistry, IProxyFactory proxyFactory)
 {
     this.adviceRegistry = adviceRegistry;
     this.proxyFactory   = proxyFactory;
 }
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="adviceFactory">Advice Factory</param>
 /// <param name="adviceRegistry">Advice Register</param>
 /// <param name="kernel">Ninject Kernel</param>
 public ObjectCachePlanningStrategy(IAdviceFactory adviceFactory, IAdviceRegistry adviceRegistry, IKernel kernel)
 {
     this._adviceFactory = adviceFactory;
     this._adviceRegistry = adviceRegistry;
     this._kernel = kernel;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="InterceptorRegistrationStrategy"/> class.
 /// </summary>
 /// <param name="adviceFactory">The advice factory.</param>
 /// <param name="adviceRegistry">The advice registry.</param>
 public InterceptorRegistrationStrategy(IAdviceFactory adviceFactory, IAdviceRegistry adviceRegistry)
 {
     AdviceFactory  = adviceFactory;
     AdviceRegistry = adviceRegistry;
 }
Exemplo n.º 5
0
 public CachePlanningStrategy(IAdviceFactory adviceFactory, IAdviceRegistry adviceRegistry)
 {
     this.adviceFactory  = adviceFactory;
     this.adviceRegistry = adviceRegistry;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="AutoNotifyInterceptorRegistrationStrategy"/> class.
 /// </summary>
 /// <param name="adviceFactory">The advice factory.</param>
 /// <param name="adviceRegistry">The advice registry.</param>
 public AutoNotifyInterceptorRegistrationStrategy( IAdviceFactory adviceFactory, IAdviceRegistry adviceRegistry )
     : base( adviceFactory, adviceRegistry )
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="InterceptorRegistrationStrategy"/> class.
 /// </summary>
 /// <param name="adviceFactory">The advice factory.</param>
 /// <param name="adviceRegistry">The advice registry.</param>
 public InterceptorRegistrationStrategy( IAdviceFactory adviceFactory, IAdviceRegistry adviceRegistry )
 {
     AdviceFactory = adviceFactory;
     AdviceRegistry = adviceRegistry;
 }
Exemplo n.º 8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AutoNotifyInterceptorRegistrationStrategy"/> class.
 /// </summary>
 /// <param name="adviceFactory">The advice factory.</param>
 /// <param name="adviceRegistry">The advice registry.</param>
 public AutoNotifyInterceptorRegistrationStrategy(IAdviceFactory adviceFactory, IAdviceRegistry adviceRegistry)
     : base(adviceFactory, adviceRegistry)
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ProxyActivationStrategy"/> class.
 /// </summary>
 /// <param name="adviceRegistry">The advice registry.</param>
 /// <param name="proxyFactory">The proxy factory.</param>
 public ProxyActivationStrategy(IAdviceRegistry adviceRegistry, IProxyFactory proxyFactory)
 {
     this.adviceRegistry = adviceRegistry;
     this.proxyFactory = proxyFactory;
 }
Exemplo n.º 10
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="adviceFactory">Advice Factory</param>
 /// <param name="adviceRegistry">Advice Register</param>
 /// <param name="kernel">Ninject Kernel</param>
 public ObjectCachePlanningStrategy(IAdviceFactory adviceFactory, IAdviceRegistry adviceRegistry, IKernel kernel)
 {
     this._adviceFactory  = adviceFactory;
     this._adviceRegistry = adviceRegistry;
     this._kernel         = kernel;
 }