/// <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);
			}
		}
Exemplo n.º 2
0
 /// <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);
     }
 }
Exemplo n.º 3
0
 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();
			}
Exemplo n.º 6
0
 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);
 }
Exemplo n.º 7
0
 public static bool Compare(this EventDeclarationCollection source, EventDeclarationCollection n, Func<EventDeclaration, EventDeclaration, bool> checkitem)
 {
     return Compare<EventDeclaration>(source,n,checkitem);
 }
Exemplo n.º 8
0
 public static bool Compare(this EventDeclarationCollection source, EventDeclarationCollection n)
 {
     return Compare<EventDeclaration>(source,n);
 }
Exemplo n.º 9
0
 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));
 }
Exemplo n.º 10
0
 public static bool Compare(this EventDeclarationCollection source, EventDeclarationCollection n, Func <EventDeclaration, EventDeclaration, bool> checkitem)
 {
     return(Compare <EventDeclaration>(source, n, checkitem));
 }
Exemplo n.º 11
0
 public static bool Compare(this EventDeclarationCollection source, EventDeclarationCollection n)
 {
     return(Compare <EventDeclaration>(source, n));
 }
Exemplo n.º 12
0
 /// <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);
 }
Exemplo n.º 13
0
 public Enumerator(EventDeclarationCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }
Exemplo n.º 14
0
        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;
        }