public InterceptorInjectorProvider( IServiceProvider serviceProvider, IPropertyInjectorSelector propertyInjectorSelector) { _serviceProvider = serviceProvider; _propertyInjectorSelector = propertyInjectorSelector; }
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; }