1 write to Name
Microsoft.ML.Core (1)
ComponentModel\ComponentCatalog.cs (1)
412
Name
= attribute.Name;
10 references to Name
Microsoft.ML.Core (10)
ComponentModel\ComponentCatalog.cs (10)
415
FriendlyName =
Name
;
424
if (!IsValidName(
Name
))
425
throw Contracts.Except("Component name '{0}' is not valid.",
Name
);
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)));
920
return _components.Where(x => x.Kind == kind).OrderBy(x => x.
Name
);
930
return _components.Where(x => x.InterfaceType == interfaceType).OrderBy(x => x.
Name
);
955
name = component.Aliases != null && component.Aliases.Length > 0 ? component.Aliases[0] : component.
Name
;