C# 클래스 Rosetta.Executable.PathCheckConversionArgumentsValidator

A validator checking all paths if arguments are not null.
상속: IConversionArgumentsValidator
파일 보기 프로젝트 열기: andry-tino/Rosetta

Private Properties

프로퍼티 타입 설명
ValidatePathToDirectoryWhenNotNull bool
ValidatePathToFileWhenNotNull bool

공개 메소드들

메소드 설명
PathCheckConversionArgumentsValidator ( ConversionArguments arguments ) : System
TryValidate ( ) : bool

Validated the arguments.

Validate ( ) : void

Validates the ConversionArguments and if validation is not successful throws an exception.

비공개 메소드들

메소드 설명
ValidatePathToDirectoryWhenNotNull ( string path ) : bool
ValidatePathToFileWhenNotNull ( string path ) : bool

메소드 상세

PathCheckConversionArgumentsValidator() 공개 메소드

public PathCheckConversionArgumentsValidator ( ConversionArguments arguments ) : System
arguments ConversionArguments
리턴 System

TryValidate() 공개 메소드

Validated the arguments.
public TryValidate ( ) : bool
리턴 bool

Validate() 공개 메소드

Validates the ConversionArguments and if validation is not successful throws an exception.
Raised when one of the properties fails validation.
public Validate ( ) : void
리턴 void