3 instantiations of ResourceCommandResponse
Aspire.Dashboard (2)
artifacts\obj\Aspire.Dashboard\Debug\net8.0\DashboardService.cs (2)
1751private static readonly pb::MessageParser<ResourceCommandResponse> _parser = new pb::MessageParser<ResourceCommandResponse>(() => new ResourceCommandResponse()); 1790return new ResourceCommandResponse(this);
Aspire.Dashboard.Tests (1)
Model\DashboardClientTests.cs (1)
676Task.FromResult(new ResourceCommandResponse
28 references to ResourceCommandResponse
Aspire.Dashboard (22)
artifacts\obj\Aspire.Dashboard\Debug\net8.0\DashboardService.cs (11)
210new 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), 1746public sealed partial class ResourceCommandResponse : pb::IMessage<ResourceCommandResponse> 1751private static readonly pb::MessageParser<ResourceCommandResponse> _parser = new pb::MessageParser<ResourceCommandResponse>(() => new ResourceCommandResponse()); 1755public static pb::MessageParser<ResourceCommandResponse> Parser { get { return _parser; } } 1779public ResourceCommandResponse(ResourceCommandResponse other) : this() { 1789public ResourceCommandResponse Clone() { 1875return Equals(other as ResourceCommandResponse); 1880public bool Equals(ResourceCommandResponse other) { 1992public void MergeFrom(ResourceCommandResponse other) {
artifacts\obj\Aspire.Dashboard\Debug\net8.0\DashboardServiceGrpc.cs (10)
67static 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)); 102static 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>( 154public virtual global::System.Threading.Tasks.Task<global::Aspire.DashboardService.Proto.V1.ResourceCommandResponse> ExecuteResourceCommand(global::Aspire.DashboardService.Proto.V1.ResourceCommandRequest request, grpc::ServerCallContext context) 241public 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)) 246public virtual global::Aspire.DashboardService.Proto.V1.ResourceCommandResponse ExecuteResourceCommand(global::Aspire.DashboardService.Proto.V1.ResourceCommandRequest request, grpc::CallOptions options) 251public 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)) 256public virtual grpc::AsyncUnaryCall<global::Aspire.DashboardService.Proto.V1.ResourceCommandResponse> ExecuteResourceCommandAsync(global::Aspire.DashboardService.Proto.V1.ResourceCommandRequest request, grpc::CallOptions options) 312serviceBinder.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)
1059var response = await _client!.ExecuteResourceCommandAsync(request, headers: _headers, cancellationToken: combinedTokens.Token);
Aspire.Dashboard.Tests (6)
Model\DashboardClientTests.cs (6)
653public override AsyncUnaryCall<ResourceCommandResponse> ExecuteResourceCommandAsync(ResourceCommandRequest request, CallOptions options) 657return new AsyncUnaryCall<ResourceCommandResponse>( 667return new AsyncUnaryCall<ResourceCommandResponse>( 668Task.FromException<ResourceCommandResponse>(new RpcException(new Status(StatusCode.Unavailable, "Service unavailable"))), 675return new AsyncUnaryCall<ResourceCommandResponse>( 686private static async Task<ResourceCommandResponse> WaitForCallCancellationAsync(CancellationToken cancellationToken)