Class Asset
public class Asset : BusinessObject, IConnectionBindedObject, IUniqueID, IComparable, IXElementSerialization
Properties
Declaration
public string Description { get; }
Property Value
Type |
Description |
System.String |
|
Declaration
public string Id { get; }
Property Value
Type |
Description |
System.String |
|
Defines a number precision of the change value
Declaration
public double MinimumChange { get; set; }
Property Value
Type |
Description |
System.Double |
|
Declaration
public string Name { get; }
Property Value
Type |
Description |
System.String |
|
Declaration
public int Precision { get; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
Formats price into precision normalized string
Declaration
public string FormatPrice(double price)
Parameters
Type |
Name |
Description |
System.Double |
price |
|
Returns
Type |
Description |
System.String |
|
Formats price into concatenated string which contains the precision normalized value and Asset's name
Declaration
public string FormatPriceWithCurrency(double price)
Parameters
Type |
Name |
Description |
System.Double |
price |
|
Returns
Type |
Description |
System.String |
|