public TriggerCollection GetSavedTriggers() { TriggerCollection collection = new TriggerCollection(); foreach (Trigger trigger in m_triggerList) { // XXX if(save) collection.Add(trigger); } return(collection); }
public void SetTriggers(TriggerCollection triggers) { m_triggerList.Clear(); if (triggers == null) { return; } foreach (Trigger trigger in triggers) { AddTrigger(trigger); } }