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