/// <summary> /// События /// </summary> /// <param name="filter"></param> /// <returns></returns> public IList <EventResult> ListEvents(MarketFilter filter) { filter.IfNull(x => { throw new ArgumentException("filter"); }); var request = new JsonRequest { Id = 1, Method = LIST_EVENTS, Params = new { filter } }; return(Invoke <IList <EventResult> >(request)); }
public IList <MarketTypeResult> ListMarketTypes(MarketFilter filter) { filter.IfNull(x => { throw new ArgumentException("filter"); }); var request = new JsonRequest { Id = 1, Method = LIST_MARKET_TYPES, Params = new { filter } }; return(Invoke <IList <MarketTypeResult> >(request)); }