2 references to MapIconVariant
Aspire.Hosting (2)
Dashboard\proto\Partials.cs (2)
32
resource.IconVariant =
MapIconVariant
(snapshot.IconVariant);
100
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) });