コード例 #1
0
        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));
        }
コード例 #2
0
 private KClient(KClientService clientService)
 {
     _clientService = clientService;
 }