public KinoheldClient( IKinoheldApiClient client, IKinoheldJsonWorker jsonWorker) { m_client = client ?? throw new ArgumentNullException(nameof(client)); m_jsonWorker = jsonWorker ?? throw new ArgumentNullException(nameof(jsonWorker)); }
public KinoheldClient() { m_jsonWorker = new KinoheldJsonWorker(); m_client = new KinoheldApiClient(); }