示例#1
0
 public AppProvider(ILocalCache localCache, IAppsIndex indexForApps, IRulesIndex indexRules, ISchemasIndex indexSchemas)
 {
     this.localCache   = localCache;
     this.indexForApps = indexForApps;
     this.indexRules   = indexRules;
     this.indexSchemas = indexSchemas;
 }
示例#2
0
        public RuleQueryService(IRulesIndex rulesIndex, IRuleEnricher ruleEnricher)
        {
            Guard.NotNull(rulesIndex);
            Guard.NotNull(ruleEnricher);

            this.rulesIndex   = rulesIndex;
            this.ruleEnricher = ruleEnricher;
        }
示例#3
0
 public PopulateGrainIndexes(IAppsIndex indexApps, IRulesIndex indexRules, ISchemasIndex indexSchemas,
                             IEventDataFormatter eventDataFormatter,
                             IEventStore eventStore)
 {
     this.indexApps          = indexApps;
     this.indexRules         = indexRules;
     this.indexSchemas       = indexSchemas;
     this.eventDataFormatter = eventDataFormatter;
     this.eventStore         = eventStore;
 }
示例#4
0
 public RulesIndexAdminController()
 {
     try
     {
         iRulesIndex = new RulesIndexRepository();
     }
     catch (Exception ex)
     {
         Utility.WriteLog("RulesIndexAdminController (Admin)", null, "Error while initialize repository.", ex.ToString());
     }
 }
示例#5
0
        public AppProvider(ILocalCache localCache, IAppsIndex indexForApps, IRulesIndex indexRules, ISchemasIndex indexSchemas)
        {
            Guard.NotNull(indexForApps, nameof(indexForApps));
            Guard.NotNull(indexRules, nameof(indexRules));
            Guard.NotNull(indexSchemas, nameof(indexSchemas));
            Guard.NotNull(localCache, nameof(localCache));

            this.localCache   = localCache;
            this.indexForApps = indexForApps;
            this.indexRules   = indexRules;
            this.indexSchemas = indexSchemas;
        }
示例#6
0
 public RulesOfFEMASubModuleDetailUserController()
 {
     try
     {
         iFEMASubModuleDetail = new FEMASubModuleDetailRepository();
         iRulesIndex          = new RulesIndexRepository();
         iRulesSubIndex       = new RulesSubIndexRepository();
         iRulesIndexAmendment = new RulesIndexAmendmentRepository();
     }
     catch (Exception ex)
     {
         Utility.WriteLog("RulesOfFEMASubModuleDetailUserController (User)", null, "Error while initialize repository.", ex.ToString());
     }
 }
示例#7
0
 public RuleQueryService(IRulesIndex rulesIndex, IRuleEnricher ruleEnricher)
 {
     this.rulesIndex   = rulesIndex;
     this.ruleEnricher = ruleEnricher;
 }
示例#8
0
        public BackupRules(IRulesIndex indexForRules)
        {
            Guard.NotNull(indexForRules);

            this.indexForRules = indexForRules;
        }
示例#9
0
 public BackupRules(IRulesIndex indexForRules)
 {
     this.indexForRules = indexForRules;
 }
示例#10
0
 public DefaultRulesRunner(IRulesIndex rulesIndex)
 {
     RuleIndex = rulesIndex;
 }
示例#11
0
 public DefaultRulesRunner( IRulesIndex rulesIndex )
 {
     RuleIndex = rulesIndex;
 }