Exemple #1
0
 public InterceptorInjectorProvider(
     IServiceProvider serviceProvider,
     IPropertyInjectorSelector propertyInjectorSelector)
 {
     _serviceProvider          = serviceProvider;
     _propertyInjectorSelector = propertyInjectorSelector;
 }
Exemple #2
0
 public InterceptorInjectorProvider(
     IServiceProvider serviceProvider,
     IPropertyInjectorSelector propertyInjectorSelector)
 {
     if (serviceProvider == null)
     {
         throw new ArgumentNullException(nameof(serviceProvider));
     }
     if (propertyInjectorSelector == null)
     {
         throw new ArgumentNullException(nameof(propertyInjectorSelector));
     }
     this.serviceProvider          = serviceProvider;
     this.propertyInjectorSelector = propertyInjectorSelector;
 }