C# 클래스 StructureMap.ArgumentChecker

파일 보기 프로젝트 열기: structuremap/structuremap

공개 메소드들

메소드 설명
ThrowIfNull ( string argumentName, object value ) : void

Utility method to throw ArgumentNullException if the argument is .

ThrowIfNullOrEmptyString ( string argumentName, string value ) : void

Utility method to throw ArgumentNullException if the argument is or ArgumentException if the argument is an empty string.

메소드 상세

ThrowIfNull() 공개 정적인 메소드

Utility method to throw ArgumentNullException if the argument is .
If is .
public static ThrowIfNull ( string argumentName, object value ) : void
argumentName string The argument name.
value object The argument value.
리턴 void

ThrowIfNullOrEmptyString() 공개 정적인 메소드

Utility method to throw ArgumentNullException if the argument is or ArgumentException if the argument is an empty string.
If is . If is an empty string.
public static ThrowIfNullOrEmptyString ( string argumentName, string value ) : void
argumentName string The argument name.
value string The argument value.
리턴 void