C# Class Animals.Validation

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

Public Methods

Method Description
CheckForNegative ( object number, string argumentName ) : void
CheckForNullOrEmpty ( string value, string argumentName ) : void

Method Details

CheckForNegative() public static method

public static CheckForNegative ( 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