3 instantiations of ResourceCommand
Aspire.Hosting (3)
artifacts\obj\Aspire.Hosting\Debug\net8.0\Dashboard\proto\ResourceService.cs (2)
548
private static readonly pb::MessageParser<ResourceCommand> _parser = new pb::MessageParser<ResourceCommand>(() => new
ResourceCommand
());
594
return new
ResourceCommand
(this);
Dashboard\proto\Partials.cs (1)
89
resource.Commands.Add(new
ResourceCommand
{ Name = command.Name, DisplayName = command.DisplayName, DisplayDescription = command.DisplayDescription ?? string.Empty, Parameter = ResourceSnapshot.ConvertToValue(command.Parameter), ConfirmationMessage = command.ConfirmationMessage ?? string.Empty, IconName = command.IconName ?? string.Empty, IconVariant = MapIconVariant(command.IconVariant), IsHighlighted = command.IsHighlighted, State = MapCommandState(command.State) });
21 references to ResourceCommand
Aspire.Hosting (21)
artifacts\obj\Aspire.Hosting\Debug\net8.0\Dashboard\proto\ResourceService.cs (21)
123
new pbr::GeneratedClrTypeInfo(typeof(global::Aspire.ResourceService.Proto.V1.
ResourceCommand
), global::Aspire.ResourceService.Proto.V1.
ResourceCommand
.Parser, new[]{ "Name", "DisplayName", "ConfirmationMessage", "Parameter", "IsHighlighted", "IconName", "IconVariant", "DisplayDescription", "State" }, new[]{ "ConfirmationMessage", "Parameter", "IconName", "IconVariant", "DisplayDescription" }, null, null, null),
543
internal sealed partial class ResourceCommand : pb::IMessage<
ResourceCommand
>
548
private static readonly pb::MessageParser<
ResourceCommand
> _parser = new pb::MessageParser<
ResourceCommand
>(() => new ResourceCommand());
553
public static pb::MessageParser<
ResourceCommand
> Parser { get { return _parser; } }
577
public ResourceCommand(
ResourceCommand
other) : this() {
593
public
ResourceCommand
Clone() {
799
return Equals(other as
ResourceCommand
);
804
public bool Equals(
ResourceCommand
other) {
981
public void MergeFrom(
ResourceCommand
other) {
1821
private static readonly pb::FieldCodec<global::Aspire.ResourceService.Proto.V1.
ResourceCommand
> _repeated_commands_codec
1822
= pb::FieldCodec.ForMessage(26, global::Aspire.ResourceService.Proto.V1.
ResourceCommand
.Parser);
1823
private readonly pbc::RepeatedField<global::Aspire.ResourceService.Proto.V1.
ResourceCommand
> commands_ = new pbc::RepeatedField<global::Aspire.ResourceService.Proto.V1.
ResourceCommand
>();
1835
public pbc::RepeatedField<global::Aspire.ResourceService.Proto.V1.
ResourceCommand
> Commands {
4361
private static readonly pb::FieldCodec<global::Aspire.ResourceService.Proto.V1.
ResourceCommand
> _repeated_commands_codec
4362
= pb::FieldCodec.ForMessage(90, global::Aspire.ResourceService.Proto.V1.
ResourceCommand
.Parser);
4363
private readonly pbc::RepeatedField<global::Aspire.ResourceService.Proto.V1.
ResourceCommand
> commands_ = new pbc::RepeatedField<global::Aspire.ResourceService.Proto.V1.
ResourceCommand
>();
4366
public pbc::RepeatedField<global::Aspire.ResourceService.Proto.V1.
ResourceCommand
> Commands {