public void AddRange(TContainedActionCollection actions)
        {
            if (actions == null)
            {
                throw new ArgumentNullException("actions");
            }

            int count = actions.Count;

            for (int i = 0; i < count; i++)
            {
                this.Add(actions[i]);
            }
        }
Exemplo n.º 2
0
 public TActionList()
 {
     actions = new TContainedActionCollection(this);
 }