3 writes to State
Aspire.Hosting (3)
artifacts\obj\Aspire.Hosting\Debug\net8.0\Dashboard\proto\ResourceService.cs (2)
1013State = other.State; 1128State = (global::Aspire.ResourceService.Proto.V1.ResourceCommandState) input.ReadEnum();
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) });
10 references to State
Aspire.Hosting (10)
artifacts\obj\Aspire.Hosting\Debug\net8.0\Dashboard\proto\ResourceService.cs (10)
819if (State != other.State) return false; 835if (State != global::Aspire.ResourceService.Proto.V1.ResourceCommandState.Enabled) hash ^= State.GetHashCode(); 932if (State != global::Aspire.ResourceService.Proto.V1.ResourceCommandState.Enabled) { 934output.WriteEnum((int) State); 970if (State != global::Aspire.ResourceService.Proto.V1.ResourceCommandState.Enabled) { 971size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) State); 1012if (other.State != global::Aspire.ResourceService.Proto.V1.ResourceCommandState.Enabled) { 1013State = other.State;