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