ExtensionMethodsAddRange Method (IListVariable, IListVariable) |
Adds a range of variable into a collection. The variables added into the collection is a copy. its reference is independent to the original one.
Namespace:
Hummingbird.TestFramework
Assembly:
Hummingbird.TestFramework (in Hummingbird.TestFramework.dll) Version: 1.2.0.0
Syntax public static void AddRange(
this IList<Variable> collection,
IList<Variable> variables
)
<ExtensionAttribute>
Public Shared Sub AddRange (
collection As IList(Of Variable),
variables As IList(Of Variable)
)
public:
[ExtensionAttribute]
static void AddRange(
IList<Variable^>^ collection,
IList<Variable^>^ variables
)
[<ExtensionAttribute>]
static member AddRange :
collection : IList<Variable> *
variables : IList<Variable> -> unit
Parameters
- collection
- Type: System.Collections.GenericIListVariable
The collection. - variables
- Type: System.Collections.GenericIListVariable
The variables.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IListVariable. 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