6 implementations of
Aspire.Dashboard.Components.Tests (2)
Controls\ApplicationNameTests.cs (1)
83public LocalizedString this[string name, params object[] arguments] => new LocalizedString(name, $"Localized:{name}:" + string.Join("+", arguments));
tests\Shared\TestStringLocalizer.cs (1)
11public LocalizedString this[string name, params object[] arguments] => new LocalizedString(name, $"Localized:{name}:" + string.Join("+", arguments));
Aspire.Dashboard.Playwright.Tests (1)
tests\Shared\TestStringLocalizer.cs (1)
11public LocalizedString this[string name, params object[] arguments] => new LocalizedString(name, $"Localized:{name}:" + string.Join("+", arguments));
Aspire.Dashboard.Tests (1)
tests\Shared\TestStringLocalizer.cs (1)
11public LocalizedString this[string name, params object[] arguments] => new LocalizedString(name, $"Localized:{name}:" + string.Join("+", arguments));
Microsoft.Extensions.Localization (1)
ResourceManagerStringLocalizer.cs (1)
112public virtual LocalizedString this[string name, params object[] arguments]
Microsoft.Extensions.Localization.Abstractions (1)
StringLocalizerOfT.cs (1)
41public virtual LocalizedString this[string name, params object[] arguments]
23 references to
Aspire.Dashboard (18)
Components\Controls\ApplicationSummary.razor.cs (4)
862: Loc[nameof(Dashboard.Resources.Resources.HomeHeadlineAttention), summary.Attention, summary.Total]; 869return Loc[summary.MissingParameters == 1 878: Loc[nameof(Dashboard.Resources.Resources.HomeHeadlinePending), summary.Pending, summary.Total]; 885: Loc[nameof(Dashboard.Resources.Resources.HomeHeadlineAllRunning), summary.Total];
Components\Controls\Chart\MetricPinButton.razor.cs (1)
78await ToastService.ShowWarningToastAsync(Loc[nameof(MetricsResources.MetricsPinLimitReached), MetricPinStore.MaxSavedPins]);
Components\Controls\DashboardRunMenu.razor.cs (1)
29private string RunSelectAccessibleLabel => Loc[nameof(LayoutResources.DashboardRunMenuAccessibleLabel), SelectedRunText];
Components\Controls\DashboardRunPill.razor.cs (1)
16private string AccessibleLabel => Loc[nameof(LayoutResources.DashboardRunSelectAccessibleLabel), RunText];
Components\Controls\DashboardRunSelect.razor.cs (1)
25private string RunSelectAccessibleLabel => Loc[nameof(LayoutResources.DashboardRunSelectAccessibleLabel), SelectedRunText];
Components\Controls\ResourceTagEditor.razor.cs (1)
204await ToastService.ShowWarningToastAsync(Loc[nameof(Resources.Resources.ResourceTagsLimitReached), ResourceTagStore.MaxSavedTagAssignments]);
Components\Controls\TerminalDisconnectedBanner.razor.cs (2)
75? Loc[nameof(Resources.TerminalStrings.TerminalDisconnectedWithExitCode), exitCode].Value 79? Loc[nameof(Resources.TerminalStrings.TerminalShowDisconnectedBannerWithExitCode), exitCode].Value
Components\Controls\TerminalTitle.razor.cs (1)
126("aria-label", Loc[labelResourceName, value].Value));
Components\Dialogs\ManageDataDialog.razor.cs (1)
365Loc[nameof(Resources.Dialogs.ManageDataDataTypeForResourceCheckboxLabel), dataTypeDisplayName, parentResourceDisplayName];
Components\Layout\TerminalDock.razor.cs (1)
450var message = Loc[nameof(Resources.TerminalStrings.TerminalDockCloseTimedOutMessage), terminalTitle].Value;
Model\HealthReportFormatter.cs (3)
31return loc[nameof(Resources.Resources.HealthCheckStatusJustNowFormat), statusText]; 35return loc[nameof(Resources.Resources.HealthCheckStatusWithTimeFormat), statusText, formattedDuration]; 57return loc[nameof(Resources.Resources.HealthCheckStatusWithTimeTooltipFormat), statusText, localTime];
Model\ResourceMenuBuilder.cs (1)
338item.Description = _loc[nameof(Resources.Resources.ResourceOverviewCountOfTotal), eligibleCount, members.Count];
Microsoft.AspNetCore.Mvc.DataAnnotations (1)
ValidationAttributeAdapterOfTAttribute.cs (1)
74return _stringLocalizer[Attribute.ErrorMessage, arguments];
Microsoft.AspNetCore.Mvc.Localization (1)
HtmlLocalizer.cs (1)
62return _localizer[name, arguments];
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
RemoteAttributeBase.cs (1)
200return _stringLocalizer[ErrorMessage, displayName];
Microsoft.Extensions.Localization.Abstractions (2)
StringLocalizerExtensions.cs (1)
46return stringLocalizer[name, arguments];
StringLocalizerOfT.cs (1)
47return _localizer[name, arguments];