BionicCode.Net
BionicCode.Net
BionicCode.Utilities.Net Namespaces
BionicCode.Utilities.Net.Standard Namespaces
BionicCode.Utilities.Net.Standard.Extensions
HelperExtensions Class
HelperExtensions Methods
AddRange Method
AddRange(TItem) Method (ICollection(TItem), IEnumerable(TItem))
AddRange(TKey, TValue) Method (IDictionary(TKey, TValue), IDictionary(TKey, TValue))

| # HelperExtensions AddRange TItem Method (ICollection TItem , IEnumerable TItem )

[Missing <summary> documentation for "M:BionicCode.Utilities.Net.Standard.Extensions.HelperExtensions.AddRange``1(System.Collections.Generic.ICollection{``0},System.Collections.Generic.IEnumerable{``0})"]

Namespace: BionicCode.Utilities.Net.Standard.Extensions
Assembly: BionicCode.Utilities.Net.Standard (in BionicCode.Utilities.Net.Standard.dll) Version: 1.0.0
Syntax
C#
VB
C++
F#
J#
JScript
JavaScript
ASP.NET
X#
Copy

    public static void AddRange<TItem>(
    	this ICollection<TItem> thisCollection,
    	IEnumerable<TItem> range
    )

    <ExtensionAttribute>
    Public Shared Sub AddRange(Of TItem) (
    	thisCollection As ICollection(Of TItem),
    	range As IEnumerable(Of TItem)
    )

    Dim thisCollection As ICollection(Of TItem)
    Dim range As IEnumerable(Of TItem)

    thisCollection.AddRange(range)

    public:
    [ExtensionAttribute]
    generic<typename TItem>
    static void AddRange(
    	ICollection<TItem>^ thisCollection,
    	IEnumerable<TItem>^ range
    )

    [<ExtensionAttribute>]
    static member AddRange :
            thisCollection : ICollection<'TItem> *
            range : IEnumerable<'TItem> -> unit

    J# supports the use of generic APIs, but not the declaration of new ones.

    JScript does not support generic types or methods.

    JavaScript does not support generic types or methods.

     STATIC METHOD AddRange<TItem>(
    	SELF thisCollection AS ICollection<TItem>,
    	range AS IEnumerable<TItem>
    )
     AS VOID

#### Parameters

thisCollection
  Type: System.Collections.Generic
  ICollection
  TItem

  [Missing <param name="thisCollection"/> documentation for "M:BionicCode.Utilities.Net.Standard.Extensions.HelperExtensions.AddRange``1(System.Collections.Generic.ICollection{``0},System.Collections.Generic.IEnumerable{``0})"]

range
  Type: System.Collections.Generic
  IEnumerable
  TItem

  [Missing <param name="range"/> documentation for "M:BionicCode.Utilities.Net.Standard.Extensions.HelperExtensions.AddRange``1(System.Collections.Generic.ICollection{``0},System.Collections.Generic.IEnumerable{``0})"]

#### Type Parameters

TItem

  [Missing <typeparam name="TItem"/> documentation for "M:BionicCode.Utilities.Net.Standard.Extensions.HelperExtensions.AddRange``1(System.Collections.Generic.ICollection{``0},System.Collections.Generic.IEnumerable{``0})"]

#### Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ICollection
TItem
. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also

#### Reference

HelperExtensions Class
AddRange Overload
BionicCode.Utilities.Net.Standard.Extensions Namespace
Send comments on this topic to BionicCode@outlook.com
https://github.com/BionicCode/BionicCode.Net/blob/master/README.md