Exemple #1
0
 protected CompositeTrigger(RawNode initNode, TriggerCategories categories, TriggerDescription description, IContext context)
     : base(initNode, categories, description, context)
 {
     triggers = new TriggerCollection(initNode.GetNode("triggers"), categories, context, new TriggerDataSource(description.GetNode().GetNode("triggers"), context));
 }
 protected CounterTrigger(RawNode initNode, TriggerCategories categories, TriggerDescription description, IContext context)
     : base(initNode, categories, description, context)
 {
     count    = initNode.GetInt("count");
     maxCount = description.GetNode().GetInt("max-count");
 }