C# 클래스 PowerArgs.ArgRequired

상속: PowerArgs.ArgValidator
파일 보기 프로젝트 열기: adamabdelhamed/PowerArgs 1 사용 예제들

공개 메소드들

메소드 설명
ArgRequired ( ) : System

Creates a new ArgRequired attribute.

ValidateAlways ( CommandLineArgument argument, string &arg ) : void

Validates that the user actually specified a value and optionally prompts them when it is missing.

메소드 상세

ArgRequired() 공개 메소드

Creates a new ArgRequired attribute.
public ArgRequired ( ) : System
리턴 System

ValidateAlways() 공개 메소드

Validates that the user actually specified a value and optionally prompts them when it is missing.
public ValidateAlways ( CommandLineArgument argument, string &arg ) : void
argument CommandLineArgument The argument being populated. This validator doesn't do anything with it.
arg string The value specified on the command line or null if it wasn't specified
리턴 void