C# 클래스 NBench.Runner.CommandLine

Command line argument parser for NBench specifications Parses arguments from Environment.GetCommandLineArgs. For example (from the Akka.NodeTestRunner source): var outputDirectory = CommandLine.GetInt32("output-directory");
파일 보기 프로젝트 열기: petabridge/NBench

공개 메소드들

메소드 설명
GetBool ( string key ) : bool
GetFiles ( string args ) : List

Retrieve file names from the command line

GetInt32 ( string key ) : int
GetProperty ( string key ) : string
HasProperty ( string key ) : bool

Determines whether a property was written in the command line

메소드 상세

GetBool() 공개 정적인 메소드

public static GetBool ( string key ) : bool
key string
리턴 bool

GetFiles() 공개 정적인 메소드

Retrieve file names from the command line
public static GetFiles ( string args ) : List
args string
리턴 List

GetInt32() 공개 정적인 메소드

public static GetInt32 ( string key ) : int
key string
리턴 int

GetProperty() 공개 정적인 메소드

public static GetProperty ( string key ) : string
key string
리턴 string

HasProperty() 공개 정적인 메소드

Determines whether a property was written in the command line
public static HasProperty ( string key ) : bool
key string Name of the property
리턴 bool