GuardArgumentIsGreaterThanT Method (T, T, String, String) | 
 Throws an exception if argumentValue is less than or equal to lowerValue.
 
    Namespace: 
   Enkoni.Framework
    Assembly:
   Enkoni.Framework (in Enkoni.Framework.dll) Version: 1.3.0.1
Syntaxpublic static void ArgumentIsGreaterThan<T>(
	T lowerValue,
	T argumentValue,
	string argumentName,
	string message
)
where T : struct, new(), IComparable
Public Shared Sub ArgumentIsGreaterThan(Of T As {Structure, New, IComparable}) ( 
	lowerValue As T,
	argumentValue As T,
	argumentName As String,
	message As String
)public:
generic<typename T>
where T : value class, gcnew(), IComparable
static void ArgumentIsGreaterThan(
	T lowerValue, 
	T argumentValue, 
	String^ argumentName, 
	String^ message
)
static member ArgumentIsGreaterThan : 
        lowerValue : 'T * 
        argumentValue : 'T * 
        argumentName : string * 
        message : string -> unit  when 'T : struct, new() and IComparable
Parameters
- lowerValue
 - Type: T
The lower value accepted as valid. - argumentValue
 - Type: T
The argument value to test. - argumentName
 - Type: SystemString
Name of the argument. - message
 - Type: SystemString
The message that will be passed to the exception. 
Type Parameters
- T
 - A type that implements IComparable.
 
Exceptions
Remarks
See Also