public MarketCatalogueParameterWriter(MarketFilter filter, int maxResults, ISet<MarketProjection> marketProjection)
 {
     this.filter = filter;
     this.maximumResults = maxResults;
     this.projection = marketProjection;
     this.parameterWriter = new ParameterWriter();
 }
        public IList<EventResult> CreateEvents(MarketFilter filter)
        {
            var events = this.client.ListEvents(filter).Where(e => e.MarketCount > 0).OrderBy(e => e.Event.OpenDate).ToList();

            return events;
        }
        private MarketFilter CreateStandardFilter()
        {
            MarketFilter filter = new MarketFilter()
            {
                MarketBettingTypes = new HashSet<MarketBettingType>() { MarketBettingType.ODDS }
            };

            return filter;
        }
 public StandardMarketFilterParameterWriter(MarketFilter filter)
 {
     this.filter = filter;
 }