Click or drag to resize

ExtensionMethods Class

The static class holds all extension methods provided by Hummingbird Test Framework
Inheritance Hierarchy
SystemObject
  Hummingbird.TestFrameworkExtensionMethods

Namespace:  Hummingbird.TestFramework
Assembly:  Hummingbird.TestFramework (in Hummingbird.TestFramework.dll) Version: 1.2.0.0
Syntax
public static class ExtensionMethods

The ExtensionMethods type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAddItem(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.
Public methodStatic memberAddItem(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.
Public methodStatic memberAddRange(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.
Public methodStatic memberAddRangeT(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.
Public methodStatic memberContains
if a pattern is found in the string
Public methodStatic memberCopy
Deep copy the given TestStep from the original by using serialization.
Public methodStatic memberForEachT
Extends the LINQ expression to IEnumerable
Public methodStatic memberCode exampleGetDescriptionT
Get the Description of an Enum value, if that enumeration value is marked by DescriptionAttribute
Public methodStatic memberGetItem
Gets the item from the current List by its name
Public methodStatic memberGetValue
Gets the value of the NameValuePair specified by its name
Public methodStatic memberIsProfessionalOnly
Determines whether the test item can only be used in Professional version.
Public methodStatic memberMergeWith
Merges the collection with another one, ignoring the existent element.
Public methodStatic memberRemoveT
Removes all items matches the condition of an ObservableCollection
Public methodStatic memberToArrayString
Converts a Array to the string, separated by return.
Public methodStatic memberToStringOrXml
Converts any Object to string representation in String or XML format.
Public methodStatic memberToXmlString
Converts any Object to string representation in XML format.
Top
See Also