5 interfaces inheriting from IComponentFactory
Microsoft.ML.Core (5)
CommandLine\CmdParser.cs (1)
43internal interface ICommandLineComponentFactory : IComponentFactory
ComponentModel\ComponentFactory.cs (4)
19public interface IComponentFactory<out TComponent> : IComponentFactory 27public interface IComponentFactory<in TArg1, out TComponent> : IComponentFactory 35public interface IComponentFactory<in TArg1, in TArg2, out TComponent> : IComponentFactory 43public interface IComponentFactory<in TArg1, in TArg2, in TArg3, out TComponent> : IComponentFactory
27 references to IComponentFactory
Microsoft.ML.Core (15)
CommandLine\CmdParser.cs (9)
1461if (typeof(IComponentFactory).IsAssignableFrom(ItemValueType)) 1567var comList = new List<KeyValuePair<string, IComponentFactory>>(); 1583comList.Add(new KeyValuePair<string, IComponentFactory>(tag, factory)); 1604var comList = new List<IComponentFactory>(); 1922else if (value is IComponentFactory) 1960if (!(value is IComponentFactory) || (GetString(env, value, buffer) != GetString(env, def, buffer))) 2054if (!(value is IComponentFactory) || (GetString(env, value, buffer) != GetString(env, def, buffer))) 2101if (value is IComponentFactory) 2302!typeof(IComponentFactory).IsAssignableFrom(factoryType) ||
ComponentModel\ComponentCatalog.cs (3)
430if (!typeof(IComponentFactory).IsAssignableFrom(argumentType)) 609if (!typeof(IComponentFactory).IsAssignableFrom(faceType)) 610throw Contracts.Except("Component signature '{0}' doesn't inherit from '{1}'", faceType, typeof(IComponentFactory));
ComponentModel\ComponentFactory.cs (1)
49/// A utility class for creating <see cref="IComponentFactory"/> instances.
EntryPoints\ModuleArgs.cs (2)
595/// The C# representation is <see cref="IComponentFactory"/>. 638if (typeof(IComponentFactory).IsAssignableFrom(type))
Microsoft.ML.Data (4)
Commands\DataCommand.cs (1)
117protected void SendTelemetryComponent(IPipe<TelemetryMessage> pipe, IComponentFactory factory)
EntryPoints\InputBuilder.cs (3)
344else if (typeof(IComponentFactory).IsAssignableFrom(type)) 544private static IComponentFactory GetComponentJson(IExceptionContext ectx, Type signatureType, string name, JObject settings, ComponentCatalog catalog) 574return inputBuilder.GetInstance() as IComponentFactory;
Microsoft.ML.EntryPoints (3)
JsonUtils\JsonManifestUtils.cs (3)
437var factory = value as IComponentFactory; 452private static JToken BuildComponentToken(IExceptionContext ectx, IComponentFactory value, ComponentCatalog catalog)
Microsoft.ML.FastTree (1)
Training\EarlyStoppingCriteria.cs (1)
56/// Create <see cref="IEarlyStoppingCriterionFactory"/> for supporting legacy infra built upon <see cref="IComponentFactory"/>.
Microsoft.ML.LightGbm (1)
LightGbmArguments.cs (1)
193/// Create <see cref="IBoosterParameterFactory"/> for supporting legacy infra built upon <see cref="IComponentFactory"/>.
Microsoft.ML.Predictor.Tests (3)
CmdLine\CmdLine.cs (1)
237private static void AppendSubArray(StringBuilder sb, IComponentFactory[] subComponents)
CmdLine\CmdLineReverseTest.cs (2)
176private static bool ComponentFactoryEquals(IComponentFactory left, IComponentFactory right)