Click or drag to resize

Unit Methods

The Unit type exposes the following members.

Methods
  NameDescription
Public methodClone
Create a copy of Unit.
(Overrides Cloneable.Clone.)
Public methodCompareTo(Object) (Inherited from EquatableUnit.)
Public methodCompareTo(Unit)
Compare Unit on the equivalence.
(Overrides Equatable.CompareTo(UTP).)
Public methodConvert(UnitTypes)
Cast the value to another type.
Public methodConvert(UnitTypes, FuncUnitTypes, NullableDecimal)
Cast the value to another type.
Public methodEquals(Object)
Compare Unit on the equivalence.
(Overrides Equatable.Equals(Object).)
Public methodEquals(UTP) (Inherited from EquatableUnit.)
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
Get the hash code of the object Unit.
(Overrides Equatable.GetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLoad
Load settings.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnEquals
Compare Unit on the equivalence.
(Overrides Equatable.OnEquals(UTP).)
Public methodSave
Save settings.
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Top
Extension Methods
  NameDescription
Public Extension MethodApplyOffset
To use shifting for price, depending on direction side.
(Defined by TraderHelper.)
Public Extension MethodConvert
Cast the value to another type.
(Defined by UnitHelper2.)
Public Extension MethodSetSecurity
To set the GetTypeValue property for the value.
(Defined by UnitHelper2.)
Top
See Also