3 instantiations of ResourceCommand
Aspire.Hosting (3)
artifacts\obj\Aspire.Hosting\Debug\net8.0\Dashboard\proto\ResourceService.cs (2)
548private static readonly pb::MessageParser<ResourceCommand> _parser = new pb::MessageParser<ResourceCommand>(() => new ResourceCommand()); 594return new ResourceCommand(this);
Dashboard\proto\Partials.cs (1)
89resource.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)
123new 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), 543internal sealed partial class ResourceCommand : pb::IMessage<ResourceCommand> 548private static readonly pb::MessageParser<ResourceCommand> _parser = new pb::MessageParser<ResourceCommand>(() => new ResourceCommand()); 553public static pb::MessageParser<ResourceCommand> Parser { get { return _parser; } } 577public ResourceCommand(ResourceCommand other) : this() { 593public ResourceCommand Clone() { 799return Equals(other as ResourceCommand); 804public bool Equals(ResourceCommand other) { 981public void MergeFrom(ResourceCommand other) { 1821private 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); 1823private readonly pbc::RepeatedField<global::Aspire.ResourceService.Proto.V1.ResourceCommand> commands_ = new pbc::RepeatedField<global::Aspire.ResourceService.Proto.V1.ResourceCommand>(); 1835public pbc::RepeatedField<global::Aspire.ResourceService.Proto.V1.ResourceCommand> Commands { 4361private 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); 4363private readonly pbc::RepeatedField<global::Aspire.ResourceService.Proto.V1.ResourceCommand> commands_ = new pbc::RepeatedField<global::Aspire.ResourceService.Proto.V1.ResourceCommand>(); 4366public pbc::RepeatedField<global::Aspire.ResourceService.Proto.V1.ResourceCommand> Commands {