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

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

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