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]
22 references to
Aspire.Dashboard (17)
Components\Controls\ApplicationSummary.razor.cs (3)
724: Loc[nameof(Dashboard.Resources.Resources.HomeHeadlineAttention), summary.Attention, summary.Total]; 731: Loc[nameof(Dashboard.Resources.Resources.HomeHeadlinePending), summary.Pending, summary.Total]; 738: Loc[nameof(Dashboard.Resources.Resources.HomeHeadlineAllRunning), summary.Total];
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 (4)
25private string RunSelectAccessibleLabel => Loc[nameof(LayoutResources.DashboardRunSelectAccessibleLabel), SelectedRunText]; 97{ TotalHours: < 1 } => loc[nameof(LayoutResources.DashboardRunSelectMinutesAgo), (int)age.TotalMinutes], 98{ TotalDays: < 1 } => loc[nameof(LayoutResources.DashboardRunSelectHoursAgo), (int)age.TotalHours], 100_ => loc[nameof(LayoutResources.DashboardRunSelectDaysAgo), (int)age.TotalDays]
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]; 50return loc[nameof(Resources.Resources.HealthCheckStatusWithTimeTooltipFormat), statusText, localTime];
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];