示例#1
0
 /// <inheritdoc />
 public Task <IMigrationUpgradeResponse> MigrationUpgradeAsync(IMigrationUpgradeRequest request,
                                                               CancellationToken cancellationToken = default(CancellationToken)
                                                               ) =>
 Dispatcher
 .DispatchAsync <IMigrationUpgradeRequest, MigrationUpgradeRequestParameters, MigrationUpgradeResponse, IMigrationUpgradeResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.XpackMigrationUpgradeDispatchAsync <MigrationUpgradeResponse>(p, c)
     );
 /// <inheritdoc />
 public Task <MigrationUpgradeResponse> MigrationUpgradeAsync(IMigrationUpgradeRequest request, CancellationToken ct = default) =>
 DoRequestAsync <IMigrationUpgradeRequest, MigrationUpgradeResponse>
     (request, request.RequestParameters, ct);
示例#3
0
 /// <inheritdoc />
 public IMigrationUpgradeResponse MigrationUpgrade(IMigrationUpgradeRequest request) =>
 Dispatcher.Dispatch <IMigrationUpgradeRequest, MigrationUpgradeRequestParameters, MigrationUpgradeResponse>(
     request,
     (p, d) => LowLevelDispatch.XpackMigrationUpgradeDispatch <MigrationUpgradeResponse>(p)
     );
 /// <inheritdoc />
 public MigrationUpgradeResponse MigrationUpgrade(IMigrationUpgradeRequest request) =>
 DoRequest <IMigrationUpgradeRequest, MigrationUpgradeResponse>(request, request.RequestParameters);