C# 클래스 Serenity.Check

Contains argument validation methods
파일 보기 프로젝트 열기: volkanceylan/Serenity

공개 메소드들

메소드 설명
NotNull ( object value, string paramName ) : void

Checks argument is not null

NotNullOrEmpty ( string value, string paramName ) : void

Checks argument is not null or empty

NotNullOrWhiteSpace ( string value, string paramName ) : void

Checks argument is not null or string containing whitespace only

메소드 상세

NotNull() 공개 정적인 메소드

Checks argument is not null
public static NotNull ( object value, string paramName ) : void
value object
paramName string
리턴 void

NotNullOrEmpty() 공개 정적인 메소드

Checks argument is not null or empty
public static NotNullOrEmpty ( string value, string paramName ) : void
value string
paramName string
리턴 void

NotNullOrWhiteSpace() 공개 정적인 메소드

Checks argument is not null or string containing whitespace only
public static NotNullOrWhiteSpace ( string value, string paramName ) : void
value string
paramName string
리턴 void