Exemple #1
0
 public static void Instantiate()
 {
     if (Instance != null)
     {
         return;
     }
     Instance = new ApplicationConfigurator();
 }
Exemple #2
0
 public static ApplicationConfigurator Get(this ApplicationConfigurator applicationConfigurator)
 {
     return(applicationConfigurator);
 }
Exemple #3
0
 public static IServiceCollection ConfigureContainer(this IServiceCollection services, ApplicationConfigurator configurator)
 {
     ApplicationConfigurator.Initialize(services);
     configurator.Container = services.BuildServiceProvider();
     return(services);
 }