コード例 #1
0
        public Bet365Ctrl(onWriteStatusEvent _onWriteStatus, onSendMatchEvent _onSendMatchBet365, onWriteLogEvent _onWriteLog)
        {
            onWriteStatus     = _onWriteStatus;
            onSendMatchBet365 = _onSendMatchBet365;
            onWriteLog        = _onWriteLog;

            httpClient = getHttpClient();
        }
コード例 #2
0
ファイル: LadbrokesCtrl.cs プロジェクト: stanmorda/BettingBot
        public LadbrokesCtrl(onWriteStatusEvent _onWriteStatus, onSendMatchEvent _onSendMatchLadbrokes, onWriteLogEvent _onWriteLog)
        {
            if (httpClient == null)
            {
                initHttpClient();
            }

            onWriteLog           = _onWriteLog;
            onWriteStatus        = _onWriteStatus;
            onSendMatchLadbrokes = _onSendMatchLadbrokes;

            _cancellationToken = _cancellationTokenSource.Token;
        }