Files
mtapi/MtApi/ExtensionMethods.cs
T

17 lines
388 B
C#
Raw Normal View History

2014-10-31 09:05:52 +02:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
2014-10-31 09:05:52 +02:00
namespace MtApi
{
static class ExtensionMethods
{
public static MtQuote Parse(this MTApiService.MtQuote quote)
{
return (quote != null) ? new MtQuote(quote.Instrument, quote.Bid, quote.Ask) : null;
}
}
}