5 instantiations of RangeAttribute
Microsoft.ML.Core.Tests (5)
UnitTests\TestEntryPoints.cs (5)
388range = new TlcModule.RangeAttribute() { Min = 5.0 }; 393range = new TlcModule.RangeAttribute() { Inf = 5.0 }; 398range = new TlcModule.RangeAttribute() { Max = 5.0 }; 403range = new TlcModule.RangeAttribute() { Sup = 5.0 }; 408range = 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)
386TlcModule.RangeAttribute range = null;