C# Class Utilities.Arguments.ArgumentExtensions

Extension class for method parameters
Afficher le fichier Open project: mrvshah/Utilities

Méthodes publiques

Méthode Description
ThrowIfNull ( this arg, string exceptionMessage = null ) : void

Throw ArgumentNullException if argument is null

Method Details

ThrowIfNull() public static méthode

Throw ArgumentNullException if argument is null
public static ThrowIfNull ( this arg, string exceptionMessage = null ) : void
arg this Parameter to check for null
exceptionMessage string The exception message
Résultat void