3 instantiations of ResourceCommandResponse
Aspire.Dashboard (2)
artifacts\obj\Aspire.Dashboard\Debug\net11.0\DashboardService.cs (2)
1802private static readonly pb::MessageParser<ResourceCommandResponse> _parser = new pb::MessageParser<ResourceCommandResponse>(() => new ResourceCommandResponse()); 1841return new ResourceCommandResponse(this);
Aspire.Dashboard.Tests (1)
Model\DashboardClientTests.cs (1)
1139Task.FromResult(new ResourceCommandResponse
28 references to ResourceCommandResponse
Aspire.Dashboard (22)
artifacts\obj\Aspire.Dashboard\Debug\net11.0\DashboardService.cs (11)
239new 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), 1797public sealed partial class ResourceCommandResponse : pb::IMessage<ResourceCommandResponse> 1802private static readonly pb::MessageParser<ResourceCommandResponse> _parser = new pb::MessageParser<ResourceCommandResponse>(() => new ResourceCommandResponse()); 1806public static pb::MessageParser<ResourceCommandResponse> Parser { get { return _parser; } } 1830public ResourceCommandResponse(ResourceCommandResponse other) : this() { 1840public ResourceCommandResponse Clone() { 1926return Equals(other as ResourceCommandResponse); 1931public bool Equals(ResourceCommandResponse other) { 2043public void MergeFrom(ResourceCommandResponse other) {
artifacts\obj\Aspire.Dashboard\Debug\net11.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)); 114static 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>( 190public virtual global::System.Threading.Tasks.Task<global::Aspire.DashboardService.Proto.V1.ResourceCommandResponse> ExecuteResourceCommand(global::Aspire.DashboardService.Proto.V1.ResourceCommandRequest request, grpc::ServerCallContext context) 295public 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)) 300public virtual global::Aspire.DashboardService.Proto.V1.ResourceCommandResponse ExecuteResourceCommand(global::Aspire.DashboardService.Proto.V1.ResourceCommandRequest request, grpc::CallOptions options) 305public 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)) 310public virtual grpc::AsyncUnaryCall<global::Aspire.DashboardService.Proto.V1.ResourceCommandResponse> ExecuteResourceCommandAsync(global::Aspire.DashboardService.Proto.V1.ResourceCommandRequest request, grpc::CallOptions options) 409serviceBinder.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)
1089var response = await _client!.ExecuteResourceCommandAsync(request, headers: _headers, cancellationToken: combinedTokens.Token);
Aspire.Dashboard.Tests (6)
Model\DashboardClientTests.cs (6)
1116public override AsyncUnaryCall<ResourceCommandResponse> ExecuteResourceCommandAsync(ResourceCommandRequest request, CallOptions options) 1120return new AsyncUnaryCall<ResourceCommandResponse>( 1130return new AsyncUnaryCall<ResourceCommandResponse>( 1131Task.FromException<ResourceCommandResponse>(new RpcException(new Status(StatusCode.Unavailable, "Service unavailable"))), 1138return new AsyncUnaryCall<ResourceCommandResponse>( 1149private static async Task<ResourceCommandResponse> WaitForCallCancellationAsync(CancellationToken cancellationToken)