23 references to MessageStrings
Aspire.Hosting (20)
ApplicationModel\ContainerMountAnnotation.cs (3)
28
throw new ArgumentNullException(nameof(source),
MessageStrings
.ContainerMountBindMountsRequireSourceExceptionMessage);
33
throw new ArgumentException(
MessageStrings
.ContainerMountBindMountsRequireRootedPaths, nameof(source));
39
throw new ArgumentException(
MessageStrings
.ContainerMountAnonymousVolumesReadOnlyExceptionMessage, nameof(isReadOnly));
ApplicationModel\DotnetToolResource.cs (1)
7
using static Aspire.Hosting.Resources.
MessageStrings
;
ApplicationModel\ParameterResource.cs (1)
7
using static Aspire.Hosting.Resources.
MessageStrings
;
ApplicationModel\RequiredCommandValidator.cs (9)
103
(not null, not null) => string.Format(CultureInfo.CurrentCulture,
MessageStrings
.RequiredCommandValidationFailedWithLink, command, validationMessage, link),
104
(not null, null) => string.Format(CultureInfo.CurrentCulture,
MessageStrings
.RequiredCommandNotFoundWithLink, command, link),
105
_ => string.Format(CultureInfo.CurrentCulture,
MessageStrings
.RequiredCommandNotFound, command)
112
(not null, not null) => string.Format(CultureInfo.CurrentCulture,
MessageStrings
.RequiredCommandValidationFailed, command, validationMessage),
113
(not null, null) => string.Format(CultureInfo.CurrentCulture,
MessageStrings
.RequiredCommandNotFound, command),
114
_ => string.Format(CultureInfo.CurrentCulture,
MessageStrings
.RequiredCommandNotFound, command)
118
_logger.LogWarning("{Message}", string.Format(CultureInfo.CurrentCulture,
MessageStrings
.ResourceMayFailToStart, resource.Name, message));
128
LinkText = link is null ? null :
MessageStrings
.InstallationInstructions,
135
title:
MessageStrings
.MissingCommandNotificationTitle,
BuiltInDistributedApplicationEventSubscriptionHandlers.cs (1)
103
logger.LogWarning(
MessageStrings
.PersistentContainerWithoutUserSecrets, resource.Name);
Dashboard\ResourcePropertySnapshotMetadata.cs (1)
6
using static Aspire.Hosting.Resources.
MessageStrings
;
Dcp\DcpDependencyCheck.cs (3)
90
MessageStrings
.DcpDependencyCheckFailedMessage,
118
MessageStrings
.DcpDependencyCheckFailedMessage,
163
MessageStrings
.DcpVersionCheckTooLowMessage,
Resources\MessageStrings.Designer.cs (1)
42
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Aspire.Hosting.Resources.MessageStrings", typeof(
MessageStrings
).Assembly);
Aspire.Hosting.Tests (3)
DotnetToolResourceTests.cs (2)
21
AssertToolProperty(properties[KnownProperties.Tool.Package], "dotnet-dump",
MessageStrings
.ResourcePropertyToolPackageDisplayName, expectedSortOrder: 0);
22
AssertToolProperty(properties[KnownProperties.Tool.Version], "1.2.3",
MessageStrings
.ResourcePropertyToolVersionDisplayName, expectedSortOrder: 1);
Orchestrator\ParameterProcessorTests.cs (1)
1340
Assert.Equal(
MessageStrings
.ResourcePropertyParameterValueDisplayName, property.DisplayName);