Click or drag to resize

GuardIsLargerThanOtherArgument Method

[This is preliminary documentation and is subject to change.]

Checks if original is larger then other

Namespace:  CSInfrastructure.CodeContracts
Assembly:  CSInfrastructure (in CSInfrastructure.dll) Version: 1.13.0+Branch.master.Sha.d583fc64569355d188a9c0818d257b6d0d3e1339
Syntax
C#
public static void IsLargerThanOtherArgument(
	int original,
	int other,
	string originalArgumentName,
	string otherArgumentName
)

Parameters

original
Type: SystemInt32
The larger value
other
Type: SystemInt32
The smaller value
originalArgumentName
Type: SystemString
The name of the larger parameter being checked
otherArgumentName
Type: SystemString
The name of the smaller parameter being checked
Exceptions
ExceptionCondition
ArgumentExceptionThrown when original is smaller or equal to other
See Also