Exemplo n.º 1
0
 public ControllerServiceProviderOnly
 (
     ServiceProviderOnlyTransient ServiceProviderOnlyTransient1,
     ServiceProviderOnlyTransientGeneric <OpenOptions> ServiceProviderOnlyTransient2,
     ServiceProviderOnlyTransientGeneric <ClosedOptions> ServiceProviderOnlyTransient3,
     ServiceProviderOnlyTransientDisposable ServiceProviderOnlyTransient4,
     ServiceProviderOnlyScoped ServiceProviderOnlyScoped1,
     ServiceProviderOnlyScopedGeneric <OpenOptions> ServiceProviderOnlyScoped2,
     ServiceProviderOnlyScopedGeneric <ClosedOptions> ServiceProviderOnlyScoped3,
     ServiceProviderOnlyScopedDisposable ServiceProviderOnlyScoped4,
     ServiceProviderOnlySingleton ServiceProviderOnlySingleton1,
     ServiceProviderOnlySingletonGeneric <OpenOptions> ServiceProviderOnlySingleton2,
     ServiceProviderOnlySingletonGeneric <ClosedOptions> ServiceProviderOnlySingleton3,
     ServiceProviderOnlySingletonDisposable ServiceProviderOnlySingleton4)
 {
 }
Exemplo n.º 2
0
 public ViewComponentServiceProviderOnly
 (
     ServiceProviderOnlyTransient ServiceProviderOnlyTransient1,
     ServiceProviderOnlyTransientGeneric <OpenOptions> ServiceProviderOnlyTransient2,
     ServiceProviderOnlyTransientGeneric <ClosedOptions> ServiceProviderOnlyTransient3,
     ServiceProviderOnlyTransientDisposable ServiceProviderOnlyTransient4,
     ServiceProviderOnlyScoped ServiceProviderOnlyScoped1,
     ServiceProviderOnlyScopedGeneric <OpenOptions> ServiceProviderOnlyScoped2,
     ServiceProviderOnlyScopedGeneric <ClosedOptions> ServiceProviderOnlyScoped3,
     ServiceProviderOnlyScopedDisposable ServiceProviderOnlyScoped4,
     ServiceProviderOnlySingleton ServiceProviderOnlySingleton1,
     ServiceProviderOnlySingletonGeneric <OpenOptions> ServiceProviderOnlySingleton2,
     ServiceProviderOnlySingletonGeneric <ClosedOptions> ServiceProviderOnlySingleton3,
     ServiceProviderOnlySingletonDisposable ServiceProviderOnlySingleton4)
 {
     if (ServiceProviderOnlyTransient1 == null)
     {
         throw new ArgumentException(nameof(ServiceProviderOnlyTransient1));
     }
     if (ServiceProviderOnlyTransient2 == null)
     {
         throw new ArgumentException(nameof(ServiceProviderOnlyTransient2));
     }
     if (ServiceProviderOnlyTransient3 == null)
     {
         throw new ArgumentException(nameof(ServiceProviderOnlyTransient3));
     }
     if (ServiceProviderOnlyTransient4 == null)
     {
         throw new ArgumentException(nameof(ServiceProviderOnlyTransient4));
     }
     if (ServiceProviderOnlyScoped1 == null)
     {
         throw new ArgumentException(nameof(ServiceProviderOnlyScoped1));
     }
     if (ServiceProviderOnlyScoped2 == null)
     {
         throw new ArgumentException(nameof(ServiceProviderOnlyScoped2));
     }
     if (ServiceProviderOnlyScoped3 == null)
     {
         throw new ArgumentException(nameof(ServiceProviderOnlyScoped3));
     }
     if (ServiceProviderOnlyScoped4 == null)
     {
         throw new ArgumentException(nameof(ServiceProviderOnlyScoped4));
     }
     if (ServiceProviderOnlySingleton1 == null)
     {
         throw new ArgumentException(nameof(ServiceProviderOnlySingleton1));
     }
     if (ServiceProviderOnlySingleton2 == null)
     {
         throw new ArgumentException(nameof(ServiceProviderOnlySingleton2));
     }
     if (ServiceProviderOnlySingleton3 == null)
     {
         throw new ArgumentException(nameof(ServiceProviderOnlySingleton3));
     }
     if (ServiceProviderOnlySingleton4 == null)
     {
         throw new ArgumentException(nameof(ServiceProviderOnlySingleton4));
     }
 }