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