public ClientResponse Resolve(Domain domain, RecordType type) { ClientRequest request = Create(); Question question = new Question(domain, type); request.Questions.Add(question); request.OperationCode = OperationCode.Query; request.RecursionDesired = true; return(request.Resolve()); }
public Task <IResponse> Resolve(Domain domain, RecordType type, CancellationToken cancellationToken = default(CancellationToken)) { ClientRequest request = Create(); Question question = new Question(domain, type); request.Questions.Add(question); request.OperationCode = OperationCode.Query; request.RecursionDesired = true; return(request.Resolve(cancellationToken)); }