Exemplo n.º 1
0
 public void ConfigXML(string fileName)
 {
     if (fileName != null)
     {
         var cfgCtx = new ConfiguratorContext(CodeBenchmarkConfSource.XML);
         _config = cfgCtx.Configure(fileName);
     }
 }
Exemplo n.º 2
0
 public void Config(CodeBenchmarkConfig configureInfo)
 {
     if (configureInfo != null)
     {
         var cfgCtx = new ConfiguratorContext(CodeBenchmarkConfSource.Memory);
         _config = cfgCtx.Configure(configureInfo);
     }
 }
Exemplo n.º 3
0
 public ProductRepository()
 {
     _context = new ConfiguratorContext();
 }
Exemplo n.º 4
0
 public UserRepository()
 {
     _context = new ConfiguratorContext();
 }
Exemplo n.º 5
0
 public OrderRepository()
 {
     _context = new ConfiguratorContext();
 }
Exemplo n.º 6
0
 public ProductRepository()
 {
     _context = new ConfiguratorContext();
 }