3 instantiations of ResourceCommandResponse
Aspire.Dashboard (2)
artifacts\obj\Aspire.Dashboard\Debug\net8.0\DashboardService.cs (2)
1751
private static readonly pb::MessageParser<ResourceCommandResponse> _parser = new pb::MessageParser<ResourceCommandResponse>(() => new
ResourceCommandResponse
());
1790
return new
ResourceCommandResponse
(this);
Aspire.Dashboard.Tests (1)
Model\DashboardClientTests.cs (1)
676
Task.FromResult(new
ResourceCommandResponse
28 references to ResourceCommandResponse
Aspire.Dashboard (22)
artifacts\obj\Aspire.Dashboard\Debug\net8.0\DashboardService.cs (11)
210
new pbr::GeneratedClrTypeInfo(typeof(global::Aspire.DashboardService.Proto.V1.
ResourceCommandResponse
), global::Aspire.DashboardService.Proto.V1.
ResourceCommandResponse
.Parser, new[]{ "Kind", "ErrorMessage", "Message", "Result" }, new[]{ "ErrorMessage", "Message", "Result" }, null, null, null),
1746
public sealed partial class ResourceCommandResponse : pb::IMessage<
ResourceCommandResponse
>
1751
private static readonly pb::MessageParser<
ResourceCommandResponse
> _parser = new pb::MessageParser<
ResourceCommandResponse
>(() => new ResourceCommandResponse());
1755
public static pb::MessageParser<
ResourceCommandResponse
> Parser { get { return _parser; } }
1779
public ResourceCommandResponse(
ResourceCommandResponse
other) : this() {
1789
public
ResourceCommandResponse
Clone() {
1875
return Equals(other as
ResourceCommandResponse
);
1880
public bool Equals(
ResourceCommandResponse
other) {
1992
public void MergeFrom(
ResourceCommandResponse
other) {
artifacts\obj\Aspire.Dashboard\Debug\net8.0\DashboardServiceGrpc.cs (10)
67
static readonly grpc::Marshaller<global::Aspire.DashboardService.Proto.V1.
ResourceCommandResponse
> __Marshaller_aspire_v1_ResourceCommandResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Aspire.DashboardService.Proto.V1.
ResourceCommandResponse
.Parser));
102
static readonly grpc::Method<global::Aspire.DashboardService.Proto.V1.ResourceCommandRequest, global::Aspire.DashboardService.Proto.V1.
ResourceCommandResponse
> __Method_ExecuteResourceCommand = new grpc::Method<global::Aspire.DashboardService.Proto.V1.ResourceCommandRequest, global::Aspire.DashboardService.Proto.V1.
ResourceCommandResponse
>(
154
public virtual global::System.Threading.Tasks.Task<global::Aspire.DashboardService.Proto.V1.
ResourceCommandResponse
> ExecuteResourceCommand(global::Aspire.DashboardService.Proto.V1.ResourceCommandRequest request, grpc::ServerCallContext context)
241
public virtual global::Aspire.DashboardService.Proto.V1.
ResourceCommandResponse
ExecuteResourceCommand(global::Aspire.DashboardService.Proto.V1.ResourceCommandRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
246
public virtual global::Aspire.DashboardService.Proto.V1.
ResourceCommandResponse
ExecuteResourceCommand(global::Aspire.DashboardService.Proto.V1.ResourceCommandRequest request, grpc::CallOptions options)
251
public virtual grpc::AsyncUnaryCall<global::Aspire.DashboardService.Proto.V1.
ResourceCommandResponse
> ExecuteResourceCommandAsync(global::Aspire.DashboardService.Proto.V1.ResourceCommandRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
256
public virtual grpc::AsyncUnaryCall<global::Aspire.DashboardService.Proto.V1.
ResourceCommandResponse
> ExecuteResourceCommandAsync(global::Aspire.DashboardService.Proto.V1.ResourceCommandRequest request, grpc::CallOptions options)
312
serviceBinder.AddMethod(__Method_ExecuteResourceCommand, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::Aspire.DashboardService.Proto.V1.ResourceCommandRequest, global::Aspire.DashboardService.Proto.V1.
ResourceCommandResponse
>(serviceImpl.ExecuteResourceCommand));
ServiceClient\DashboardClient.cs (1)
1059
var
response = await _client!.ExecuteResourceCommandAsync(request, headers: _headers, cancellationToken: combinedTokens.Token);
Aspire.Dashboard.Tests (6)
Model\DashboardClientTests.cs (6)
653
public override AsyncUnaryCall<
ResourceCommandResponse
> ExecuteResourceCommandAsync(ResourceCommandRequest request, CallOptions options)
657
return new AsyncUnaryCall<
ResourceCommandResponse
>(
667
return new AsyncUnaryCall<
ResourceCommandResponse
>(
668
Task.FromException<
ResourceCommandResponse
>(new RpcException(new Status(StatusCode.Unavailable, "Service unavailable"))),
675
return new AsyncUnaryCall<
ResourceCommandResponse
>(
686
private static async Task<
ResourceCommandResponse
> WaitForCallCancellationAsync(CancellationToken cancellationToken)