Click or drag to resize

ExtensionDefinition Class

Hummingbird Test Framework loads automatically extensions during startup. It will scan each Extensions folder, to find the file ExtensionDefinition.xml. The file content represents this class.
Inheritance Hierarchy
SystemObject
  Hummingbird.TestFrameworkIdentifier
    Hummingbird.TestFramework.ExtensibilityExtensionDefinition

Namespace:  Hummingbird.TestFramework.Extensibility
Assembly:  Hummingbird.TestFramework (in Hummingbird.TestFramework.dll) Version: 1.2.0.0
Syntax
[SerializableAttribute]
[XmlRootAttribute(Namespace = "http://www.hummingbird-alm.com/testframework/201610")]
[DataContractAttribute(Namespace = "http://www.hummingbird-alm.com/testframework/201610")]
public class ExtensionDefinition : Identifier

The ExtensionDefinition type exposes the following members.

Constructors
  NameDescription
Public methodExtensionDefinition
Initializes a new instance of the ExtensionDefinition class
Top
Properties
  NameDescription
Public propertyAddtionalFiles
Additional files, including the referred files by the extension, including Executable file,
Public propertyCompany
Your Company Name if working for an organization or your personal name
Public propertyCopyright
Copyright information
Public propertyDescription
Description of the extension: What services is can call, what service is can be simulated, Which protocol implemented, etc...
Public propertyId
This property must be initialized in the constructor of derived class and must be given a fixed GUID. the GUID must be a constant in code, and should not equals to any other classes derived from AbstractService.
(Inherited from Identifier.)
Public propertyLicenceFile
Name of the License File. The license file can be Plain text (*.txt) or RichText file (*.rtf). If a license file is present, a prompt window will shown and user have to accept the license before installation.
Public propertyLoadedFrom
Gets or sets the Full Path where the extension definition has been loaded.
Public propertyLoadingStatus
Gets a value indicating whether this Extension is loaded.
Public propertyMainDllFile
Name of the main assembly of the DLL library, This is the assembly loaded. If there are other resources file is used, including referenced assembly (.dll), images and other resources, you should add them in AddtionalFiles
Public propertyCode exampleMaxFrameworkVersion
Maximum version of Hummingbird Test Framework where the extension can work. if the value is empty, the extension will work on the same major version as MinFrameworkVersion.
Public propertyMinFrameworkVersion
Minimum version of Hummingbird Test Framework where the extension can work. if the value is empty, the minimum version is 1.0.0
Public propertyName
Name of the Extension definition
Public propertyProfessionalOnly
Indicate if this extension can be installed only on Professional and Enterprise version
Public propertyVersion
Version of the current extension. Users can perform Upgrade or Downgrade if Hummingbird TestFramework's version matches.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodToStringOrXml
Converts any Object to string representation in String or XML format.
(Defined by ExtensionMethods.)
Public Extension MethodToXmlString
Converts any Object to string representation in XML format.
(Defined by ExtensionMethods.)
Top
See Also