1 write to CtorTypes
Microsoft.ML.Core (1)
ComponentModel\ComponentCatalog.cs (1)
225
CtorTypes
= attr.CtorTypes ?? Type.EmptyTypes;
5 references to CtorTypes
Microsoft.ML.Core (5)
ComponentModel\ComponentCatalog.cs (5)
129
internal int ExtraArgCount => ArgType == null ?
CtorTypes
.Length :
CtorTypes
.Length - 1;
231
Contracts.Assert(ArgType == null ||
CtorTypes
.Length > 0 &&
CtorTypes
[0] == ArgType);
236
Contracts.Assert(Utils.Size(ctorArgs) ==
CtorTypes
.Length + ((RequireEnvironment) ? 1 : 0));