C# 클래스 Xunit.Runner.VisualStudio.VS2010.Guard

Provides a wrapper for assertions and exception throwning for simplicity
파일 보기 프로젝트 열기: quetzalcoatl/xvsr10

공개 메소드들

메소드 설명
StringNotNullOrEmpty ( string parameter, string parameterName ) : void

Checks if a supplied string variable is empty/null and throws appropriately

메소드 상세

StringNotNullOrEmpty() 공개 정적인 메소드

Checks if a supplied string variable is empty/null and throws appropriately
Throws if "parameter" is null or empty
public static StringNotNullOrEmpty ( string parameter, string parameterName ) : void
parameter string The parameter to check for Empty/Null-ness
parameterName string Name of the parameter being checked
리턴 void