/// <summary> /// Adds a collection of Types to the collection /// </summary> /// <param name="types">The collection of types to add</param> public void AddRange(TypeCollection types) { if (types == null) { throw new ArgumentNullException("types"); } foreach (Type type in types) { Add(type); } }
/// <summary> /// Initializes a new instance of the TypeCollection class /// </summary> /// <param name="types">A TypeCollection filled with types to add to the collection</param> public TypeCollection(TypeCollection types) { AddRange(types); }