C# Class DeploymentTracker.Services.Utilities.Validators

Validators class. Contains extenders
Afficher le fichier Open project: RyanTBerry/WindowsAzureDeploymentTracker

Méthodes publiques

Méthode Description
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.

Method Details

VerifyGreaterThanZero() public static méthode

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.
Résultat void

VerifyInteger() public static méthode

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

VerifyNonZero() public static méthode

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.
Résultat void

VerifyNotNull() public static méthode

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.
Résultat void

VerifyPath() public static méthode

Verifies the path.
public static VerifyPath ( this stringPath, string message ) : void
stringPath this The string path.
message string The message.
Résultat void

VerifyPhysicalPath() public static méthode

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.
Résultat void

VerifyUri() public static méthode

Verifies the URI.
public static VerifyUri ( this stringTargetObj, string message ) : void
stringTargetObj this The string target obj.
message string The message.
Résultat void