public static KClient Initialize(string apiKey, int pollingInterval = 60) { if (string.IsNullOrEmpty(apiKey)) { throw new NoNullAllowedException("ApiKey can not be null or empty"); } var service = new KClientService(apiKey, pollingInterval); return(new KClient(service)); }
private KClient(KClientService clientService) { _clientService = clientService; }