Пример #1
0
        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;
        }
Пример #2
0
        public static MarketListener Create(BetfairClient client,
                                            PriceProjection priceProjection,
                                            int connectionCount)
        {
            if (listener == null)
            {
                listener = new MarketListener(client, priceProjection, connectionCount);
            }

            return(listener);
        }