示例#1
0
 public static void RegisterServices(IServiceCollection services)
 {
     InjectorService.InjectServices(services);
     InjectorRepository.InjectRepositories(services);
     InjectorDatabase.InjectDatabase(services);
     InjectorSecurity.InjectSecutiry(services);
     InjectorDomain.InjectDomain(services);
     InjectorEngine.InjectEngine(services);
 }
示例#2
0
 private static void InitializeContainer(Container container)
 {
     InjectorDomain.Register(container);
 }