Example #1
0
        public async Task SaveSettingsAsync()
        {
            await SecureStorage.SetAsync(_wrapper.BaseCurrencySettingLocation, BaseCurrency.ToString());

            var symbolsJson = JsonConvert.SerializeObject(SymbolsList);
            await SecureStorage.SetAsync(_wrapper.SymbolsListSettingLocation, symbolsJson);
        }
Example #2
0
 /// <inheritdoc />
 public override string ToString()
 {
     return($"{BaseCurrency.ToString().ToUpper()}_{QuoteCurrency.ToString().ToUpper()}");
 }
Example #3
0
 public override string ToString()
 {
     return($"{Id} - [Base Currency : {BaseCurrency?.ToString()}] - [Quote Currency : {QuoteCurrency?.ToString()}] | {Value}");
 }