Click or drag to resize

Version Class

The object represents a Version. The reason to create a new Version class is because System.Versionis not serializable.
Inheritance Hierarchy
SystemObject
  Hummingbird.TestFrameworkVersion

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

The Version type exposes the following members.

Constructors
  NameDescription
Public methodVersion
Initializes a new instance of the Version class.
Public methodVersion(Version)
Initializes a new instance of the Version class.
Public methodVersion(Int32, Int32)
Initializes a new instance of the Version class.
Public methodVersion(Int32, Int32, Int32)
Initializes a new instance of the Version class.
Top
Properties
  NameDescription
Public propertyBuild
The Revision, 1.0.193
Public propertyMajor
The Major version 1.0, 2.0
Public propertyMinor
The Minor version 1.1, 2,1, ...
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 this instance.
(Overrides ObjectToString.)
Top
Operators
  NameDescription
Public operatorStatic memberGreaterThan
Public operatorStatic memberLessThan
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