Click or drag to resize
Akka.NETCommandLine Class
Command line argument parser for individual node tests during a MultiNodeSpec. Parses arguments from 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");
Inheritance Hierarchy
SystemObject
  Akka.Remote.TestKitCommandLine

Namespace:  Akka.Remote.TestKit
Assembly:  Akka.Remote.TestKit (in Akka.Remote.TestKit.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax
public class CommandLine

The CommandLine type exposes the following members.

Constructors
  NameDescription
Public methodCommandLine
Initializes a new instance of the CommandLine class
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodStatic memberGetInt32
Public methodStatic memberGetInt32OrDefault
Public methodStatic memberGetProperty
Public methodStatic memberGetPropertyOrDefault
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
See Also