Exemple #1
0
 public void ConfigureServices(IServiceCollection services)
 {
     InjectableAttribute.RegisterInjectables(services);
 }
Exemple #2
0
 public void ConfigureServices(IServiceCollection services)
 {
     InjectableAttribute.RegisterInjectables(services);
     InjectableAttribute.RegisterInjectables(services);
     services.AddSingleton <AppState>();
 }