public XRootNamespace(GetRecords root) { this.doc=new XDocument(root.Untyped); this.rootObject=root; }
Types.IGetRecordsResponse IDiscovery.GetRecords(Types.GetRecords request) { return(GetRecordsAsync(request).Result); }
/// <summary>Processes the standard GetRecords operation for the current discovery service.</summary> /// <param name="request">The parameters for the operation.</param> /// <param name="cancellationToken">The cancellation token.</param> /// <returns>The <see cref="Types.IGetRecordsResponse" /> for the operation.</returns> public Task <Types.IGetRecordsResponse> GetRecordsAsync(Types.GetRecords request, CancellationToken cancellationToken) { return(CreateGetRecordsProcessor().ProcessAsync(request, cancellationToken)); }
/// <summary>Processes the standard GetRecords operation for the current discovery service.</summary> /// <param name="request">The parameters for the operation.</param> /// <returns>The <see cref="Types.IGetRecordsResponse" /> for the operation.</returns> public async Task <Types.IGetRecordsResponse> GetRecordsAsync(Types.GetRecords request) { return(await CreateGetRecordsProcessor().ProcessAsync(request).ConfigureAwait(false)); }