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

                _ruleSettings     = ruleSettings;
                _ruleFiringRecord = new RuleFiringRecord(this);
            }
        public int IndexOf(string name)
        {
            EventMappingSettings settings = (EventMappingSettings)BaseGet(name);

            if (settings == null)
            {
                return(-1);                /* XXX */
            }
            else
            {
                return(BaseIndexOf(settings));
            }
        }
		public void Insert (int index, EventMappingSettings eventMappingSettings)
		{
			BaseAdd (index, eventMappingSettings);
		}
		public void Add (EventMappingSettings eventMappingSettings)
		{
			BaseAdd (eventMappingSettings);
		}
 public void Insert(int index, EventMappingSettings eventMappingSettings)
 {
     BaseAdd(index, eventMappingSettings);
 }
 public void Add(EventMappingSettings eventMappingSettings)
 {
     BaseAdd(eventMappingSettings);
 }
            internal RuleInfo(RuleSettings ruleSettings, HealthMonitoringSection section) {
                _eventMappingSettings = section.EventMappings[ruleSettings.EventName];

                _ruleSettings = ruleSettings;
                _ruleFiringRecord = new RuleFiringRecord(this);
            }
예제 #8
0
 // public methods
 public void Add(EventMappingSettings eventMappingSettings)
 {
     BaseAdd(eventMappingSettings); // add to the end of the list and dont overwrite dups!
 }
 // public methods
 public void Add(EventMappingSettings eventMappingSettings) {
     BaseAdd(eventMappingSettings); // add to the end of the list and dont overwrite dups!
 }
 public void Insert(int index, EventMappingSettings eventMappingSettings)
 {
 }
 public void Add(EventMappingSettings eventMappingSettings)
 {
 }
 public void Insert(int index, EventMappingSettings eventMappingSettings)
 {
 }
 public void Add(EventMappingSettings eventMappingSettings)
 {
 }