/// <summary> /// Initializes a new instance of the MethodCallParameterCollection class, containing elements /// copied from another instance of MethodCallParameterCollection /// </summary> /// <param name="items"> /// The MethodCallParameterCollection whose elements are to be added to the new MethodCallParameterCollection. /// </param> public MethodCallParameterCollection(MethodCallParameterCollection items) { this.AddRange(items); }
/// <summary> /// /// </summary> /// <param name="collection"></param> public Enumerator(MethodCallParameterCollection collection) { this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator(); }
/// <summary> /// Adds the elements of another MethodCallParameterCollection to the end of this MethodCallParameterCollection. /// </summary> /// <param name="items"> /// The MethodCallParameterCollection whose elements are to be added to the end of this MethodCallParameterCollection. /// </param> public virtual void AddRange(MethodCallParameterCollection items) { foreach (MethodCallParameter item in items) { this.List.Add(item); } }