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