ExtensionMethods Class |
Namespace: Hummingbird.TestFramework
The ExtensionMethods type exposes the following members.
Name | Description | |
---|---|---|
AddItem(IListVariable, Variable) |
Adds an Variable in the collection. if the variable of the same Name exists already, the value of that variable will be replaced.
| |
AddItem(IListVariable, String, String) |
Adds an Variable in the collection. if the variable of the same Name exists already, the value of that variable will be replaced.
| |
AddRange(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.
| |
AddRangeT(ObservableCollectionT, ObservableCollectionT) |
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.
| |
Contains |
if a pattern is found in the string
| |
Copy |
Deep copy the given TestStep from the original by using serialization.
| |
ForEachT |
Extends the LINQ expression to IEnumerable
| |
GetDescriptionT |
Get the Description of an Enum value, if that enumeration value is marked by DescriptionAttribute
| |
GetItem |
Gets the item from the current List by its name
| |
GetValue |
Gets the value of the NameValuePair specified by its name
| |
IsProfessionalOnly |
Determines whether the test item can only be used in Professional version.
| |
MergeWith |
Merges the collection with another one, ignoring the existent element.
| |
RemoveT |
Removes all items matches the condition of an ObservableCollection
| |
ToArrayString |
Converts a Array to the string, separated by return.
| |
ToStringOrXml |
Converts any Object to string representation in String or XML format.
| |
ToXmlString |
Converts any Object to string representation in XML format.
|