Asset CLASS

Description PROPERTY (string)
Exploits asset's description annotation. SYNTAX public string Description { get; } EXAMPLE using System; using System.Collections; using Syst...
Fri, Apr 13, 2018 at 10:33 AM
Id PROPERTY (int)
Retrieves asset's id. SYNTAX public int Id { get; } EXAMPLE using System; using System.Collections; using System.Collections.Generic...
Sat, Apr 28, 2018 at 8:07 AM
MinChange PROPERTY (double)
Returns a value of minimal change. SYNTAX public double MinChange { get; } EXAMPLE using System; using System.Collections; using System.Coll...
Sat, Apr 28, 2018 at 8:08 AM
Name PROPERTY (string)
Grasps asset's name. SYNTAX public string Name { get; } EXAMPLE using System; using System.Collections; using System.Collections.Gen...
Sat, Apr 28, 2018 at 8:10 AM
Type PROPERTY (AssetType)
Retrieves asset's type. SYNTAX public AssetType Type { get; } EXAMPLE using System; using System.Collections; using System.Collections....
Sat, Apr 28, 2018 at 8:11 AM
GetAllAssets () METHOD (Return: Asset[])
Returns collection of all available assets. SYNTAX public static Asset[] GetAllAssets () RETURN Asset[] EXAMPLE using System; using ...
Sat, Apr 28, 2018 at 8:13 AM
GetAssetByName (string name) METHOD (Return: Asset)
Returns asset by it's name or null if asset with this name doesn't exist. SYNTAX public static Asset GetAssetByName (string name) P...
Sat, Apr 28, 2018 at 8:14 AM
GetCrossPrice (Asset fromAsset, Asset toAsset) METHOD (Return: double)
Provides asset cross price by asset. SYNTAX public static double GetCrossPrice (Asset fromAsset,Asset toAsset) PARAMETERS fromAsset — Ass...
Sat, Apr 28, 2018 at 8:17 AM
GetCrossPrice (string fromAssetName, string toAssetName) METHOD (Return: double)
Provides asset cross price by name. SYNTAX public static double GetCrossPrice (string fromAssetName,string toAssetName) PARAMETERS fromAsset...
Sat, Apr 28, 2018 at 8:19 AM
GetHashCode () METHOD (Return: int)
SYNTAX public override int GetHashCode () RETURN int EXAMPLE using System; using System.Collections; using System.Collections.Generic...
Sat, Apr 28, 2018 at 8:20 AM