C# 클래스 Utilities.Arguments.ArgumentExtensions

Extension class for method parameters
파일 보기 프로젝트 열기: mrvshah/Utilities

공개 메소드들

메소드 설명
ThrowIfNull ( this arg, string exceptionMessage = null ) : void

Throw ArgumentNullException if argument is null

메소드 상세

ThrowIfNull() 공개 정적인 메소드

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
리턴 void