public Bet365Ctrl(onWriteStatusEvent _onWriteStatus, onSendMatchEvent _onSendMatchBet365, onWriteLogEvent _onWriteLog) { onWriteStatus = _onWriteStatus; onSendMatchBet365 = _onSendMatchBet365; onWriteLog = _onWriteLog; httpClient = getHttpClient(); }
public LadbrokesCtrl(onWriteStatusEvent _onWriteStatus, onSendMatchEvent _onSendMatchLadbrokes, onWriteLogEvent _onWriteLog) { if (httpClient == null) { initHttpClient(); } onWriteLog = _onWriteLog; onWriteStatus = _onWriteStatus; onSendMatchLadbrokes = _onSendMatchLadbrokes; _cancellationToken = _cancellationTokenSource.Token; }