예제 #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>();
 }