/// <summary> /// Adds the elements of another EventDeclarationCollection to the end of this EventDeclarationCollection. /// </summary> /// <param name="items"> /// The EventDeclarationCollection whose elements are to be added to the end of this EventDeclarationCollection. /// </param> public virtual void AddRange(EventDeclarationCollection items) { foreach (EventDeclaration item in items) { this.List.Add(item); } }
/// <summary> /// Adds the elements of another EventDeclarationCollection to the end of this EventDeclarationCollection. /// </summary> /// <param name="items"> /// The EventDeclarationCollection whose elements are to be added to the end of this EventDeclarationCollection. /// </param> public virtual void AddRange(EventDeclarationCollection items) { foreach (EventDeclaration item in items) { this.List.Add(item); } }
private static void Strip(EventDeclarationCollection events) { for (int i = events.Count - 1; i >= 0; i--) { var e = (BuildEvent)events[i]; if (e.Strip) { events.RemoveAt(i); } } }
/// <summary> /// Initializes a new instance of the EventDeclarationCollection class, containing elements /// copied from another instance of EventDeclarationCollection /// </summary> /// <param name="items"> /// The EventDeclarationCollection whose elements are to be added to the new EventDeclarationCollection. /// </param> public EventDeclarationCollection(EventDeclarationCollection items) { this.AddRange(items); }
public Enumerator(EventDeclarationCollection collection) { this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator(); }
public static bool Compare(this EventDeclarationCollection source, EventDeclarationCollection n, Func<EventDeclaration, EventDeclaration, Action<string, string>, bool> checkitem, Action<string, string> errAct) { return Compare<EventDeclaration>(source,n,checkitem,errAct); }
public static bool Compare(this EventDeclarationCollection source, EventDeclarationCollection n, Func<EventDeclaration, EventDeclaration, bool> checkitem) { return Compare<EventDeclaration>(source,n,checkitem); }
public static bool Compare(this EventDeclarationCollection source, EventDeclarationCollection n) { return Compare<EventDeclaration>(source,n); }
public static bool Compare(this EventDeclarationCollection source, EventDeclarationCollection n, Func <EventDeclaration, EventDeclaration, Action <string, string>, bool> checkitem, Action <string, string> errAct) { return(Compare <EventDeclaration>(source, n, checkitem, errAct)); }
public static bool Compare(this EventDeclarationCollection source, EventDeclarationCollection n, Func <EventDeclaration, EventDeclaration, bool> checkitem) { return(Compare <EventDeclaration>(source, n, checkitem)); }
public static bool Compare(this EventDeclarationCollection source, EventDeclarationCollection n) { return(Compare <EventDeclaration>(source, n)); }
/// <summary> /// Initializes a new instance of the EventDeclarationCollection class, containing elements /// copied from another instance of EventDeclarationCollection /// </summary> /// <param name="items"> /// The EventDeclarationCollection whose elements are to be added to the new EventDeclarationCollection. /// </param> public EventDeclarationCollection(EventDeclarationCollection items) { this.AddRange(items); }
public Enumerator(EventDeclarationCollection collection) { this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator(); }
public virtual IEventDeclarationCollection TransformEventDeclarationCollection(IEventDeclarationCollection events) { IEventDeclaration[] array = new IEventDeclaration[events.Count]; for (int i = 0; i < events.Count; i++) { array[i] = this.TransformEventDeclaration(events[i]); } IEventDeclarationCollection target = new EventDeclarationCollection(); target.AddRange(array); return target; }