5 interfaces inheriting from IComponentFactory
Microsoft.ML.Core (5)
CommandLine\CmdParser.cs (1)
43
internal interface ICommandLineComponentFactory :
IComponentFactory
ComponentModel\ComponentFactory.cs (4)
19
public interface IComponentFactory<out TComponent> :
IComponentFactory
27
public interface IComponentFactory<in TArg1, out TComponent> :
IComponentFactory
35
public interface IComponentFactory<in TArg1, in TArg2, out TComponent> :
IComponentFactory
43
public interface IComponentFactory<in TArg1, in TArg2, in TArg3, out TComponent> :
IComponentFactory
27 references to IComponentFactory
Microsoft.ML.Core (15)
CommandLine\CmdParser.cs (9)
1461
if (typeof(
IComponentFactory
).IsAssignableFrom(ItemValueType))
1567
var comList = new List<KeyValuePair<string,
IComponentFactory
>>();
1583
comList.Add(new KeyValuePair<string,
IComponentFactory
>(tag, factory));
1604
var comList = new List<
IComponentFactory
>();
1922
else if (value is
IComponentFactory
)
1960
if (!(value is
IComponentFactory
) || (GetString(env, value, buffer) != GetString(env, def, buffer)))
2054
if (!(value is
IComponentFactory
) || (GetString(env, value, buffer) != GetString(env, def, buffer)))
2101
if (value is
IComponentFactory
)
2302
!typeof(
IComponentFactory
).IsAssignableFrom(factoryType) ||
ComponentModel\ComponentCatalog.cs (3)
430
if (!typeof(
IComponentFactory
).IsAssignableFrom(argumentType))
609
if (!typeof(
IComponentFactory
).IsAssignableFrom(faceType))
610
throw 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
"/>.
638
if (typeof(
IComponentFactory
).IsAssignableFrom(type))
Microsoft.ML.Data (4)
Commands\DataCommand.cs (1)
117
protected void SendTelemetryComponent(IPipe<TelemetryMessage> pipe,
IComponentFactory
factory)
EntryPoints\InputBuilder.cs (3)
344
else if (typeof(
IComponentFactory
).IsAssignableFrom(type))
544
private static
IComponentFactory
GetComponentJson(IExceptionContext ectx, Type signatureType, string name, JObject settings, ComponentCatalog catalog)
574
return inputBuilder.GetInstance() as
IComponentFactory
;
Microsoft.ML.EntryPoints (3)
JsonUtils\JsonManifestUtils.cs (3)
437
var
factory = value as
IComponentFactory
;
452
private 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)
237
private static void AppendSubArray(StringBuilder sb,
IComponentFactory
[] subComponents)
CmdLine\CmdLineReverseTest.cs (2)
176
private static bool ComponentFactoryEquals(
IComponentFactory
left,
IComponentFactory
right)