public T Get <T>(PortfolioPosition position, ScalarAttribute attribute, DateTime dateTime, T defaultValue) where T : struct, IConvertible { return(_dataProvider.Get <T>(position, attribute, dateTime, defaultValue)); }
public void TestGetEnum() { IMarketProvider marketProvider = TestConnection(); var result = marketProvider.Get <Currencies>(position, ScalarAttribute.Currency, DateTime.Today, Currencies.Default); }