1 write to ArgType
Microsoft.ML.Core (1)
ComponentModel\ComponentCatalog.cs (1)
223
ArgType
= attr.ArgType;
13 references to ArgType
Microsoft.ML.Core (13)
ComponentModel\ComponentCatalog.cs (13)
129
internal int ExtraArgCount =>
ArgType
== null ? CtorTypes.Length : CtorTypes.Length - 1;
231
Contracts.Assert(
ArgType
== null || CtorTypes.Length > 0 && CtorTypes[0] ==
ArgType
);
268
env.Check((
ArgType
!= null) == (args != null));
274
if (
ArgType
!= null)
304
/// If <see cref="
ArgType
"/> is not null, returns a new default instance of <see cref="
ArgType
"/>.
309
if (
ArgType
== null)
312
var ctor =
ArgType
.GetConstructor(Type.EmptyTypes);
316
UserName,
ArgType
);
803
.Where(ci => ci.
ArgType
== typeof(TArgs) && ci.SignatureTypes.Contains(typeof(TSig)))
1024
if (info.
ArgType
== null)
1034
throw Contracts.Except("Can't instantiate arguments object '{0}' for '{1}'", info.
ArgType
.Name, name);