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

                _ruleSettings     = ruleSettings;
                _ruleFiringRecord = new RuleFiringRecord(this);
            }
Example #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);
        }
Example #3
0
        public int IndexOf(string name)
        {
            RuleSettings r = (RuleSettings)BaseGet(name);

            if (r == null)
            {
                return(-1); /* XXX */
            }
            else
            {
                return(BaseIndexOf(r));
            }
        }
Example #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);
        }
Example #5
0
 public void Insert(int index, RuleSettings eventSettings)
 {
 }
Example #6
0
 public void Add(RuleSettings ruleSettings)
 {
 }
Example #7
0
 public void Insert(int index, RuleSettings eventSettings)
 {
     BaseAdd(index, eventSettings);
 }
Example #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);
            }
Example #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)
 {
 }
Example #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;
        }
Example #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;
 }