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