3 references to TryValidateName
Aspire.Hosting.Analyzers (3)
AppHostAnalyzer.DetectInvalidModelNames.cs (1)
30
if (!ModelName.
TryValidateName
(modelType.ToString(), modelName, out var validationMessage))
src\Aspire.Hosting\ApplicationModel\ModelName.cs (2)
11
internal static bool IsValidName(string target, string name) =>
TryValidateName
(target, name, out _);
27
if (!
TryValidateName
(target, name, out var validationMessage))