Click or drag to resize

Currency Class

Currency.
Inheritance Hierarchy
SystemObject
  CloneableCurrency
    EquatableCurrency
      StockSharp.MessagesCurrency

Namespace:  StockSharp.Messages
Assembly:  StockSharp.Messages (in StockSharp.Messages.dll) Version: 4.4.17.0 (4.4.17)
Syntax
C#
[SerializableAttribute]
public class Currency : Equatable<Currency>

The Currency type exposes the following members.

Constructors
  NameDescription
Public methodCurrency
Initializes a new instance of the Currency.
Top
Properties
  NameDescription
Public propertyType
Currency type. The default is RUB.
Public propertyValue
Absolute value in CurrencyTypes.
Top
Methods
  NameDescription
Public methodClone
Create a copy of Currency.
(Overrides Cloneable.Clone.)
Public methodCompareTo(Object) (Inherited from EquatableCurrency.)
Public methodCompareTo(UTP) (Inherited from EquatableCurrency.)
Public methodEquals(Object) (Inherited from EquatableCurrency.)
Public methodEquals(UTP) (Inherited from EquatableCurrency.)
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 Currency.
(Overrides Equatable.GetHashCode.)
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.)
Protected methodOnEquals
Compare Currency on the equivalence.
(Overrides Equatable.OnEquals(UTP).)
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Top
Operators
  NameDescription
Public operatorStatic memberAddition
Add the two objects Currency.
Public operatorStatic memberDivision
Divide one value to another.
Public operatorStatic member(Currency to Decimal)
Cast object from Currency to Decimal.
Public operatorStatic member(Decimal to Currency)
Cast Decimal object to the type Currency.
Public operatorStatic memberMultiply
Multiply one value to another.
Public operatorStatic memberSubtraction
Subtract one value from another value.
Top
Extension Methods
  NameDescription
Public Extension MethodConvert
To convert one currency to another.
(Defined by Extensions.)
Top
See Also