Пример #1
0
 public XRootNamespace(GetRecords root)
 {
     this.doc=new XDocument(root.Untyped);
     this.rootObject=root;
 }
Пример #2
0
 Types.IGetRecordsResponse IDiscovery.GetRecords(Types.GetRecords request)
 {
     return(GetRecordsAsync(request).Result);
 }
Пример #3
0
 /// <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));
 }
Пример #4
0
 /// <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));
 }