C# 클래스 DeploymentTracker.Services.Utilities.Validators

Validators class. Contains extenders
파일 보기 프로젝트 열기: RyanTBerry/WindowsAzureDeploymentTracker

공개 메소드들

메소드 설명
VerifyGreaterThanZero ( this intTargetObj, string message ) : void

Verifies the integer is greater than zero or not

VerifyInteger ( this intTargetObj, string message ) : void

Verifies the integer.

VerifyNonZero ( this intTargetObj, string parameterName, string message ) : void

Verifies the non zero.

VerifyNotNull ( this stringTargetObj, string parameterName, string message ) : void

Verifies the not null.

VerifyPath ( this stringPath, string message ) : void

Verifies the path.

VerifyPhysicalPath ( this intTargetObj, string parameterName, string message ) : void

Verifies the physical path.

VerifyUri ( this stringTargetObj, string message ) : void

Verifies the URI.

메소드 상세

VerifyGreaterThanZero() 공개 정적인 메소드

Verifies the integer is greater than zero or not
public static VerifyGreaterThanZero ( this intTargetObj, string message ) : void
intTargetObj this The int target obj.
message string The message.
리턴 void

VerifyInteger() 공개 정적인 메소드

Verifies the integer.
public static VerifyInteger ( this intTargetObj, string message ) : void
intTargetObj this The int target obj.
message string The message.
리턴 void

VerifyNonZero() 공개 정적인 메소드

Verifies the non zero.
public static VerifyNonZero ( this intTargetObj, string parameterName, string message ) : void
intTargetObj this The int target obj.
parameterName string Name of the parameter.
message string The message.
리턴 void

VerifyNotNull() 공개 정적인 메소드

Verifies the not null.
public static VerifyNotNull ( this stringTargetObj, string parameterName, string message ) : void
stringTargetObj this The string target obj.
parameterName string Name of the parameter.
message string The message.
리턴 void

VerifyPath() 공개 정적인 메소드

Verifies the path.
public static VerifyPath ( this stringPath, string message ) : void
stringPath this The string path.
message string The message.
리턴 void

VerifyPhysicalPath() 공개 정적인 메소드

Verifies the physical path.
public static VerifyPhysicalPath ( this intTargetObj, string parameterName, string message ) : void
intTargetObj this The int target obj.
parameterName string Name of the parameter.
message string The message.
리턴 void

VerifyUri() 공개 정적인 메소드

Verifies the URI.
public static VerifyUri ( this stringTargetObj, string message ) : void
stringTargetObj this The string target obj.
message string The message.
리턴 void