C# Class BankSystem.Validation

Show file Open project: Y-LyN-10/Software-University-Courses

Public Methods

Method Description
CheckForMinimalValue ( decimal value, string argumentName ) : void
CheckForNegativeOrZero ( object number, string argumentName ) : void
CheckForNullOrEmpty ( string value, string argumentName ) : void

Method Details

CheckForMinimalValue() public static method

public static CheckForMinimalValue ( decimal value, string argumentName ) : void
value decimal
argumentName string
return void

CheckForNegativeOrZero() public static method

public static CheckForNegativeOrZero ( object number, string argumentName ) : void
number object
argumentName string
return void

CheckForNullOrEmpty() public static method

public static CheckForNullOrEmpty ( string value, string argumentName ) : void
value string
argumentName string
return void