Пример #1
0
        public void Load(IInjector injector)
        {
            new CoreBootstrapper().Load(injector);
            new DataBootstrapper().Load(injector);
            new DomainBootstrapper().Load(injector);

            injector.AddSingleton <IAppConfiguration, ApplicationConfiguration>();
            injector.AddTransient <IAutenticacao, AutenticacaoJwt>();
        }
Пример #2
0
 public void Load(IInjector injector)
 {
     injector.AddTransient <IUsuarioService, UsuarioService>();
     injector.AddTransient <IClienteService, ClienteService>();
     injector.AddTransient <IServicoPrestadoService, ServicoPrestadoService>();
     injector.AddTransient <IFornecedorService, FornecedorService>();
     injector.AddTransient <IUserContext, UserContext>();
     injector.AddTransient <IEstatisticaService, EstatisticaService>();
     injector.AddTransient <IFiltroBuilderFactory, FiltroBuilderFactory>();
 }
Пример #3
0
 public void Load(IInjector injector)
 {
     injector.AddTransient <IDataContext, EntityFrameworkContext>();
 }
Пример #4
0
 public void Load(IInjector injector)
 {
     injector.AddTransient <ILog, LogProvider>();
 }
Пример #5
0
 public void Load(IInjector injector)
 {
     injector.AddTransient <IDataContext, Contexto>();
 }
Пример #6
0
 public void Load(IInjector injector)
 {
     injector.AddTransient <IRepository, Repository>();
 }
Пример #7
0
 public void Load(IInjector injector)
 {
     injector.AddTransient <ITipoPagamentoAdapter, TipoPagamentoAdapter>();
     injector.AddTransient <ITipoPagamentoService, TipoPagamentoService>();
 }