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");
Показать файл Открыть проект

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

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