5 instantiations of RangeAttribute
Microsoft.ML.Core.Tests (5)
UnitTests\TestEntryPoints.cs (5)
389range = new TlcModule.RangeAttribute() { Min = 5.0 }; 394range = new TlcModule.RangeAttribute() { Inf = 5.0 }; 399range = new TlcModule.RangeAttribute() { Max = 5.0 }; 404range = new TlcModule.RangeAttribute() { Sup = 5.0 }; 409range = new TlcModule.RangeAttribute() { Max = 1.0, Min = -1.0 };
8 references to RangeAttribute
Microsoft.ML.Core (7)
EntryPoints\EntryPointUtils.cs (7)
17private static readonly FuncStaticMethodInfo1<TlcModule.RangeAttribute, object, bool> _isValueWithinRangeMethodInfo 18= new FuncStaticMethodInfo1<TlcModule.RangeAttribute, object, bool>(IsValueWithinRange<int>); 20private static bool IsValueWithinRange<T>(TlcModule.RangeAttribute range, object obj) 35public static bool IsValueWithinRange(this TlcModule.RangeAttribute range, object val) 84var rangeAttr = fieldInfo.GetCustomAttributes(typeof(TlcModule.RangeAttribute), false).FirstOrDefault() 85as TlcModule.RangeAttribute;
Microsoft.ML.Core.Tests (1)
UnitTests\TestEntryPoints.cs (1)
387TlcModule.RangeAttribute range = null;