Index: DamEngine/trunk/src/Deltares.DamEngine.Calculators/General/Context.cs =================================================================== diff -u -r877 -r1124 --- DamEngine/trunk/src/Deltares.DamEngine.Calculators/General/Context.cs (.../Context.cs) (revision 877) +++ DamEngine/trunk/src/Deltares.DamEngine.Calculators/General/Context.cs (.../Context.cs) (revision 1124) @@ -45,31 +45,5 @@ currentContext = value; } } - - public static bool ShouldValidate(object source, string member, bool defaultValidate) - { - if (currentContext == null) - { - return defaultValidate; - } - - bool? validate = currentContext.ShouldValidate(source, member); - return validate.HasValue ? validate.Value : defaultValidate; - } - - public static double? GetMinimum(object source, string property) - { - return currentContext != null ? currentContext.GetMinimum(source, property) : null; - } - - public static double? GetMaximum(object source, string property) - { - return currentContext != null ? currentContext.GetMaximum(source, property) : null; - } - - public static object GetDefault(Type type, string property) - { - return currentContext != null ? currentContext.GetDefault(type, property) : null; - } } } \ No newline at end of file Index: DamEngine/trunk/src/Deltares.DamEngine.Calculators/General/IContext.cs =================================================================== diff -u -r877 -r1124 --- DamEngine/trunk/src/Deltares.DamEngine.Calculators/General/IContext.cs (.../IContext.cs) (revision 877) +++ DamEngine/trunk/src/Deltares.DamEngine.Calculators/General/IContext.cs (.../IContext.cs) (revision 1124) @@ -20,7 +20,6 @@ // All rights reserved. using System; -using System.Collections; namespace Deltares.DamEngine.Calculators.General {