C# Class FixerSharp.Fixer

Show file Open project: rmorrin/FixerSharp

Public Methods

Method Description
Convert ( string from, string to, double amount, System.DateTime date = null ) : double
Rate ( string from, string to, System.DateTime date = null ) : ExchangeRate

Private Methods

Method Description
GetFixerData ( System.DateTime date = null ) : Newtonsoft.Json.Linq.JObject
GetRate ( string from, string to, System.DateTime date = null ) : ExchangeRate

Method Details

Convert() public static method

public static Convert ( string from, string to, double amount, System.DateTime date = null ) : double
from string
to string
amount double
date System.DateTime
return double

Rate() public static method

public static Rate ( string from, string to, System.DateTime date = null ) : ExchangeRate
from string
to string
date System.DateTime
return ExchangeRate