C# Class ArgumentCheck, code

Class for doing argument checks
ファイルを表示 Open project: shendongnian/code Class Usage Examples

Public Methods

Method Description
IsNullorWhiteSpace ( item, string nameOfTheArgument = "" ) : void

Checks if a value is string or any other object if it is string it checks for nullorwhitespace otherwhise it checks for null only

Method Details

IsNullorWhiteSpace() public static method

Checks if a value is string or any other object if it is string it checks for nullorwhitespace otherwhise it checks for null only
public static IsNullorWhiteSpace ( item, string nameOfTheArgument = "" ) : void
item The item you want to check
nameOfTheArgument string Name of the argument
return void