C# 클래스 Akka.Remote.TestKit.CommandLine

Command line argument parser for individual node tests during a MultiNodeSpec. Parses arguments from Environment.GetCommandLineArgs using the same conventions as canonical Akka. For example (from the Akka.NodeTestRunner source): var nodeIndex = CommandLine.GetInt32("multinode.index"); var assemblyName = CommandLine.GetProperty("multinode.test-assembly"); var typeName = CommandLine.GetProperty("multinode.test-class"); var testName = CommandLine.GetProperty("multinode.test-method");
파일 보기 프로젝트 열기: rogeralsing/akka.net

공개 메소드들

메소드 설명
GetInt32 ( string key ) : int
GetInt32OrDefault ( string key, int defaultInt ) : int
GetProperty ( string key ) : string
GetPropertyOrDefault ( string key, string defaultStr ) : string

메소드 상세

GetInt32() 공개 정적인 메소드

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

GetInt32OrDefault() 공개 정적인 메소드

public static GetInt32OrDefault ( string key, int defaultInt ) : int
key string
defaultInt int
리턴 int

GetProperty() 공개 정적인 메소드

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

GetPropertyOrDefault() 공개 정적인 메소드

public static GetPropertyOrDefault ( string key, string defaultStr ) : string
key string
defaultStr string
리턴 string