Esempio n. 1
0
            internal RuleInfo(RuleSettings ruleSettings, HealthMonitoringSection section)
            {
                _eventMappingSettings = section.EventMappings[ruleSettings.EventName];

                _ruleSettings     = ruleSettings;
                _ruleFiringRecord = new RuleFiringRecord(this);
            }
Esempio n. 2
0
        private RuleInfo CreateRuleInfo(RuleSettings ruleSettings)
        {
            RuleInfo ruleInfo = new RuleInfo(ruleSettings, this._section);

            this.MergeValuesWithProfile(ruleInfo);
            this.InitReferencedProvider(ruleInfo);
            this.InitCustomEvaluator(ruleInfo);
            return(ruleInfo);
        }
Esempio n. 3
0
        public int IndexOf(string name)
        {
            RuleSettings r = (RuleSettings)BaseGet(name);

            if (r == null)
            {
                return(-1); /* XXX */
            }
            else
            {
                return(BaseIndexOf(r));
            }
        }
Esempio n. 4
0
        RuleInfo CreateRuleInfo(RuleSettings ruleSettings)
        {
            RuleInfo ruleInfo = new RuleInfo(ruleSettings, _section);

            // Inherit values from profile
            MergeValuesWithProfile(ruleInfo);

            // Find out which provider it's referencing
            InitReferencedProvider(ruleInfo);

            // Initialize the cutom evaluator type
            InitCustomEvaluator(ruleInfo);

            return(ruleInfo);
        }
Esempio n. 5
0
 public void Insert(int index, RuleSettings eventSettings)
 {
 }
Esempio n. 6
0
 public void Add(RuleSettings ruleSettings)
 {
 }
Esempio n. 7
0
 public void Insert(int index, RuleSettings eventSettings)
 {
     BaseAdd(index, eventSettings);
 }
Esempio n. 8
0
 // public methods
 public void Add(RuleSettings ruleSettings)
 {
     BaseAdd(ruleSettings); // add to the end of the list and dont overwrite dups!
 }
            internal RuleInfo(RuleSettings ruleSettings, HealthMonitoringSection section) {
                _eventMappingSettings = section.EventMappings[ruleSettings.EventName];

                _ruleSettings = ruleSettings;
                _ruleFiringRecord = new RuleFiringRecord(this);
            }
Esempio n. 10
0
 public void Add(RuleSettings ruleSettings)
 {
     BaseAdd(ruleSettings);
 }
 // public methods
 public void Add(RuleSettings ruleSettings) {
     BaseAdd(ruleSettings); // add to the end of the list and dont overwrite dups!
 }
 public void Insert(int index, RuleSettings eventSettings)
 {
 }
 public void Add(RuleSettings ruleSettings)
 {
 }
Esempio n. 14
0
		public void Add (RuleSettings ruleSettings)
		{
			BaseAdd (ruleSettings);
		}
        RuleInfo CreateRuleInfo(RuleSettings ruleSettings) {
            RuleInfo ruleInfo = new RuleInfo(ruleSettings, _section);

            // Inherit values from profile
            MergeValuesWithProfile(ruleInfo);

            // Find out which provider it's referencing
            InitReferencedProvider(ruleInfo);

            // Initialize the cutom evaluator type
            InitCustomEvaluator(ruleInfo);

            return ruleInfo;
        }
Esempio n. 16
0
		public void Insert (int index, RuleSettings eventSettings)
		{
			BaseAdd (index, eventSettings);
		}
 private RuleInfo CreateRuleInfo(RuleSettings ruleSettings)
 {
     RuleInfo ruleInfo = new RuleInfo(ruleSettings, this._section);
     this.MergeValuesWithProfile(ruleInfo);
     this.InitReferencedProvider(ruleInfo);
     this.InitCustomEvaluator(ruleInfo);
     return ruleInfo;
 }