示例#1
0
 /// <inheritdoc />
 public Task <IUpgradeStatusResponse> UpgradeStatusAsync(IUpgradeStatusRequest request,
                                                         CancellationToken cancellationToken = default(CancellationToken)
                                                         ) =>
 Dispatcher.DispatchAsync <IUpgradeStatusRequest, UpgradeStatusRequestParameters, UpgradeStatusResponse, IUpgradeStatusResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.IndicesGetUpgradeDispatchAsync <UpgradeStatusResponse>(p, c)
     );
示例#2
0
 public Task <IUpgradeStatusResponse> UpgradeStatusAsync(IUpgradeStatusRequest upgradeStatusRequest)
 {
     return(this.DispatchAsync <IUpgradeStatusRequest, UpgradeStatusRequestParameters, UpgradeStatusResponse, IUpgradeStatusResponse>(
                upgradeStatusRequest,
                (p, d) => this.RawDispatch.IndicesGetUpgradeDispatchAsync <UpgradeStatusResponse>(
                    p.DeserializationState(new UpgradeStatusResponseConverter((r, s) => DeserializeUpgradeStatusResponse(r, s)))
                    )
                ));
 }
		public Task<IUpgradeStatusResponse> UpgradeStatusAsync(IUpgradeStatusRequest upgradeStatusRequest)
		{
			return this.DispatchAsync<IUpgradeStatusRequest, UpgradeStatusRequestParameters, UpgradeStatusResponse, IUpgradeStatusResponse>(
				upgradeStatusRequest,
				(p, d) => this.RawDispatch.IndicesGetUpgradeDispatchAsync<UpgradeStatusResponse>(
					p.DeserializationState(new UpgradeStatusResponseConverter((r, s) => DeserializeUpgradeStatusResponse(r, s)))
				)
			);
		}
		/// <inheritdoc/>
		public Task<IUpgradeStatusResponse> UpgradeStatusAsync(IUpgradeStatusRequest request, CancellationToken cancellationToken = default(CancellationToken)) =>
			this.Dispatcher.DispatchAsync<IUpgradeStatusRequest, UpgradeStatusRequestParameters, UpgradeStatusResponse, IUpgradeStatusResponse>(
				request,
				cancellationToken,
				(p, d, c) => this.LowLevelDispatch.IndicesGetUpgradeDispatchAsync<UpgradeStatusResponse>(p, c)
			);
		/// <inheritdoc/>
		public IUpgradeStatusResponse UpgradeStatus(IUpgradeStatusRequest request) =>
			this.Dispatcher.Dispatch<IUpgradeStatusRequest, UpgradeStatusRequestParameters, UpgradeStatusResponse>(
				request,
				(p, d) => this.LowLevelDispatch.IndicesGetUpgradeDispatch<UpgradeStatusResponse>(p)
			);
示例#6
0
 /// <inheritdoc />
 public IUpgradeStatusResponse UpgradeStatus(IUpgradeStatusRequest request) =>
 Dispatcher.Dispatch <IUpgradeStatusRequest, UpgradeStatusRequestParameters, UpgradeStatusResponse>(
     request,
     (p, d) => LowLevelDispatch.IndicesGetUpgradeDispatch <UpgradeStatusResponse>(p)
     );
		/// <inheritdoc/>
		public Task<IUpgradeStatusResponse> UpgradeStatusAsync(IUpgradeStatusRequest request) => 
			this.Dispatcher.DispatchAsync<IUpgradeStatusRequest, UpgradeStatusRequestParameters, UpgradeStatusResponse, IUpgradeStatusResponse>(
				request,
				(p, d) => this.LowLevelDispatch.IndicesGetUpgradeDispatchAsync<UpgradeStatusResponse>(p)
			);
 /// <inheritdoc/>
 public Task <IUpgradeStatusResponse> UpgradeStatusAsync(IUpgradeStatusRequest request) =>
 this.Dispatcher.DispatchAsync <IUpgradeStatusRequest, UpgradeStatusRequestParameters, UpgradeStatusResponse, IUpgradeStatusResponse>(
     request,
     (p, d) => this.LowLevelDispatch.IndicesGetUpgradeDispatchAsync <UpgradeStatusResponse>(p)
     );
示例#9
0
 /// <inheritdoc />
 public Task <UpgradeStatusResponse> UpgradeStatusAsync(IUpgradeStatusRequest request, CancellationToken ct = default) =>
 DoRequestAsync <IUpgradeStatusRequest, UpgradeStatusResponse>(request, request.RequestParameters, ct);
示例#10
0
 /// <inheritdoc />
 public UpgradeStatusResponse UpgradeStatus(IUpgradeStatusRequest request) =>
 DoRequest <IUpgradeStatusRequest, UpgradeStatusResponse>(request, request.RequestParameters);