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