Пример #1
0
 public ConfiguradorDeDependencias(IDependencyResolver container)
 {
     this.container = container;
     repositorioFactory = new RepositorioFactory(GerenciadorSinais.CaminhoDoArquivoDoRepositorio);
     caracteristicasFactory = new CaracteristicasFactory();
     algoritmoFactory = new AlgoritmoClassificacaoSinalFactory(caracteristicasFactory);
 }
 public InicializadorDeAlgoritmoFacade(IAlgoritmoClassificacaoSinalFactory algoritmoClassificacaoSinalFactory, IRepositorioFactory repositorioFactory)
 {
     this.algoritmoClassificacaoSinalFactory = algoritmoClassificacaoSinalFactory;
     this.repositorioFactory = repositorioFactory;
 }
 public RepositorioApplication(IRepositorioFactory repositorioFactory, IDatabaseSettings settings) : base(repositorioFactory, settings)
 {
 }
Пример #4
0
 public DbContext(IRepositorioFactory factory, IDatabaseSettings settings)
 {
     this.Applications = factory.Create <ApplicationModel>(new RepositorioOptions(settings.ConnectionString, settings.DatabaseName, "Application"));
 }