18 references to MessageStrings
Aspire.Hosting.DevTunnels (18)
DevTunnelCliInstallationManager.cs (1)
69
return (false, string.Format(CultureInfo.CurrentCulture, Resources.
MessageStrings
.DevtunnelCliVersionNotSupported, version, _minSupportedVersion));
DevTunnelHealthCheck.cs (4)
31
return HealthCheckResult.Unhealthy(string.Format(CultureInfo.CurrentCulture, Resources.
MessageStrings
.DevTunnelUnhealthy_NoActiveHostConnections, _tunnelResource.TunnelId));
41
return HealthCheckResult.Unhealthy(string.Format(CultureInfo.CurrentCulture, Resources.
MessageStrings
.DevTunnelUnhealthy_PortInactive, _tunnelResource.TunnelId, portResource.TargetEndpoint.Port));
56
return HealthCheckResult.Healthy(string.Format(CultureInfo.CurrentCulture, Resources.
MessageStrings
.DevTunnelHealthy, _tunnelResource.TunnelId, tunnelStatus.HostConnections, tunnelStatus.Ports?.Count));
73
return HealthCheckResult.Unhealthy(string.Format(CultureInfo.CurrentCulture, Resources.
MessageStrings
.DevTunnelUnhealthy_Error, _tunnelResource.TunnelId, ex.Message), ex);
DevTunnelLoginManager.cs (3)
58
Resources.
MessageStrings
.AuthenticationRequiredNotification,
62
PrimaryButtonText = Resources.
MessageStrings
.LoginWithMicrosoft,
63
SecondaryButtonText = Resources.
MessageStrings
.LoginWithGitHub,
DevTunnelPortHealthCheck.cs (5)
22
return Task.FromResult(HealthCheckResult.Unhealthy(string.Format(CultureInfo.CurrentCulture, Resources.
MessageStrings
.DevTunnelPortUnhealthy_StatusUnknown, _port, _tunnelResource.TunnelId)));
27
return Task.FromResult(HealthCheckResult.Unhealthy(string.Format(CultureInfo.CurrentCulture, Resources.
MessageStrings
.DevTunnelUnhealthy_NoActiveHostConnections, _tunnelResource.TunnelId)));
35
return Task.FromResult(HealthCheckResult.Unhealthy(string.Format(CultureInfo.CurrentCulture, Resources.
MessageStrings
.DevTunnelUnhealthy_PortInactive, _tunnelResource.TunnelId, _port)));
38
return Task.FromResult(HealthCheckResult.Healthy(string.Format(CultureInfo.CurrentCulture, Resources.
MessageStrings
.DevTunnelPortHealthy, _port, _tunnelResource.TunnelId)));
42
return Task.FromResult(HealthCheckResult.Unhealthy(string.Format(CultureInfo.CurrentCulture, Resources.
MessageStrings
.DevTunnelPortUnhealthy_Error, _port, _tunnelResource.TunnelId, ex.Message), ex));
LoggedOutNotificationManager.cs (1)
17
Resources.
MessageStrings
.AuthenticationExpiredNotification,
RequiredCommandValidator.cs (3)
83
(not null, not null) => string.Format(CultureInfo.CurrentCulture, Resources.
MessageStrings
.RequiredCommandNotificationWithValidation, validationMessage),
84
(not null, null) => string.Format(CultureInfo.CurrentCulture, Resources.
MessageStrings
.RequiredCommandNotificationWithLink, command),
85
_ => string.Format(CultureInfo.CurrentCulture, Resources.
MessageStrings
.RequiredCommandNotification, command)
Resources\MessageStrings.Designer.cs (1)
42
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Aspire.Hosting.DevTunnels.Resources.MessageStrings", typeof(
MessageStrings
).Assembly);