/// <summary> Returns null if does not know the answer </summary> public string GetTicker(IAssetID p_assetID, DateTime? p_timeUtc = null) { #if DEBUG foreach (var item in m_tickerSnapshot201603) { if (item.Item1 == (byte)p_assetID.AssetTypeID && item.Item2 == p_assetID.ID) return item.Item3; } return p_assetID.ToString(); #else return p_assetID.AssetTypeID.ToString() + ":" + p_assetID.ID.ToString(); #endif }
public AssetId32Bits(IAssetID p_assetID) { m_value = (p_assetID == null) ? 0 : IntValue(p_assetID.AssetTypeID, p_assetID.ID); }