1 write to Aliases
Microsoft.ML.Core (1)
ComponentModel\ComponentCatalog.cs (1)
423
Aliases
= attribute.Aliases;
10 references to Aliases
Microsoft.ML.Core (10)
ComponentModel\ComponentCatalog.cs (10)
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)));
623
var names = (info.
Aliases
?? new string[0]).Concat(new[] { info.Name }).Distinct();
875
component = _components.FirstOrDefault(x => x.InterfaceType == interfaceType && (x.Name == alias || (x.
Aliases
!= null && x.
Aliases
.Contains(alias))));
892
component = _components.FirstOrDefault(x => x.InterfaceType == interfaceType && (x.Name.ToLowerInvariant() == alias || AnyMatch(alias, x.
Aliases
)));
955
name = component.
Aliases
!= null && component.
Aliases
.Length > 0 ? component.
Aliases
[0] : component.Name;