public static MarketListener Create(BetfairClient client, PriceProjection priceProjection, int connectionCount, int samplePeriod = 0) { if (listener == null) listener = new MarketListener(client, priceProjection, connectionCount, samplePeriod); return listener; }
public static MarketListener Create(BetfairClient client, PriceProjection priceProjection, int connectionCount) { if (listener == null) { listener = new MarketListener(client, priceProjection, connectionCount); } return(listener); }