C# Класс DeploymentTracker.Services.Utilities.Validators

Validators class. Contains extenders
Показать файл Открыть проект

Открытые методы

Метод Описание
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