コード例 #1
0
 /// <summary>
 /// To CHF
 /// </summary>
 public static Money ToSwissFrancs(this Money money)
 {
     return money.ConvertToCurrency(Currency.CHF);
 }
コード例 #2
0
 /// <summary>
 /// To AUD
 /// </summary>
 public static Money ToAustralianDollars(this Money money)
 {
     return money.ConvertToCurrency(Currency.AUD);
 }
コード例 #3
0
 /// <summary>
 /// To GBP
 /// </summary>
 public static Money ToPounds(this Money money)
 {
     return money.ConvertToCurrency(Currency.GBP);
 }
コード例 #4
0
 /// <summary>
 /// To RUB
 /// </summary>
 public static Money ToRubles(this Money money)
 {
     return money.ConvertToCurrency(Currency.RUB);
 }
コード例 #5
0
 /// <summary>
 /// To JPY
 /// </summary>
 public static Money ToJapaneseYens(this Money money)
 {
     return money.ConvertToCurrency(Currency.JPY);
 }
コード例 #6
0
 /// <summary>
 /// To UAH
 /// </summary>
 public static Money ToHryvnas(this Money money)
 {
     return money.ConvertToCurrency(Currency.UAH);
 }
コード例 #7
0
 /// <summary>
 /// To EUR
 /// </summary>
 public static Money ToEuros(this Money money)
 {
     return money.ConvertToCurrency(Currency.EUR);
 }
コード例 #8
0
 /// <summary>
 /// To USD
 /// </summary>
 public static Money ToDollars(this Money money)
 {
     return money.ConvertToCurrency(Currency.USD);
 }
コード例 #9
0
 /// <summary>
 /// To CAD
 /// </summary>
 public static Money ToCanadianDollars(this Money money)
 {
     return money.ConvertToCurrency(Currency.CAD);
 }