19 references to TlcModule
Microsoft.ML.Core (19)
ComponentModel\ComponentCatalog.cs (12)
341
TlcModule
.EntryPointAttribute attribute, ObsoleteAttribute obsoleteAttribute)
372
var kindAttr = type.GetTypeInfo().GetCustomAttributes(typeof(
TlcModule
.EntryPointKindAttribute), false).FirstOrDefault()
373
as
TlcModule
.EntryPointKindAttribute;
405
internal ComponentInfo(Type interfaceType, string kind, Type argumentType,
TlcModule
.ComponentAttribute attribute)
569
var attr = methodInfo.GetCustomAttributes(typeof(
TlcModule
.EntryPointAttribute), false).FirstOrDefault() as
TlcModule
.EntryPointAttribute;
596
var attr = nestedType.GetTypeInfo().GetCustomAttributes(typeof(
TlcModule
.ComponentAttribute), true).FirstOrDefault()
597
as
TlcModule
.ComponentAttribute;
604
var faceAttr = faceType.GetTypeInfo().GetCustomAttributes(typeof(
TlcModule
.ComponentKindAttribute), false).FirstOrDefault()
605
as
TlcModule
.ComponentKindAttribute;
939
var faceAttr = signatureType.GetTypeInfo().GetCustomAttributes(typeof(
TlcModule
.ComponentKindAttribute), false).FirstOrDefault()
940
as
TlcModule
.ComponentKindAttribute;
Data\ServerChannel.cs (1)
142
[
TlcModule
.ComponentKind("Server")]
EntryPoints\EntryPointUtils.cs (6)
17
private static readonly FuncStaticMethodInfo1<
TlcModule
.RangeAttribute, object, bool> _isValueWithinRangeMethodInfo
18
= new FuncStaticMethodInfo1<
TlcModule
.RangeAttribute, object, bool>(IsValueWithinRange<int>);
20
private static bool IsValueWithinRange<T>(
TlcModule
.RangeAttribute range, object obj)
35
public static bool IsValueWithinRange(this
TlcModule
.RangeAttribute range, object val)
84
var rangeAttr = fieldInfo.GetCustomAttributes(typeof(
TlcModule
.RangeAttribute), false).FirstOrDefault()
85
as
TlcModule
.RangeAttribute;