5 references to IsValidName
Microsoft.ML.Core (5)
ComponentModel\ComponentCatalog.cs (5)
420
if (!
IsValidName
(Kind))
424
if (!
IsValidName
(Name))
427
if (Aliases != null && Aliases.Any(x => !
IsValidName
(x)))
428
throw Contracts.Except("Component '{0}' has an invalid alias '{1}'", Name, Aliases.First(x => !
IsValidName
(x)));
919
Contracts.CheckParam(
IsValidName
(kind), nameof(kind), "Invalid component kind");