public DefaultDependencyDiscoveryTask(IDependencyLocator locator)
     : base(locator)
 {
     AddConvention(new SingleInstanceConvention());
     AddConvention(new TransientConvention());
     AddConvention(new UnitOfWorkConvention());
 }
Exemplo n.º 2
0
 public DependencyDiscoveryTask(IDependencyLocator locator)
 {
     this.locator = locator;
     conventions = new List<IRegistrationConvention>();
 }
Exemplo n.º 3
0
 public ClassActivator(IDependencyLocator activator, DependencyInjector injector)
 {
     Activator = activator;
     Injector  = injector;
 }
 public PaymentSchemeValidationProvider(IDependencyLocator dependencyLocator)
 => _dependencyLocator = dependencyLocator;
Exemplo n.º 5
0
 public DependencyPropertyBinding(IDependencyLocator locator)
 => this.locator = locator ?? throw new ArgumentNullException(nameof(locator));
Exemplo n.º 6
0
 public DependencyBindingConstructorActivator(IDependencyLocator locator)
 => this.locator = locator ?? throw new ArgumentNullException(nameof(locator));
Exemplo n.º 7
0
 public DILocator(IDependencyLocator locator)
 {
     _locator = locator;
 }