Useful Stuff.

Namespace: MbUnit.Core.Cons.CommandLine
Assembly:  MbUnit.Framework (in MbUnit.Framework.dll)

Syntax

         
 C#  Visual Basic  Visual C++ 
public sealed class CommandLineUtility
Public NotInheritable Class CommandLineUtility
public ref class CommandLineUtility sealed

Members

         
 All Members  Fields Public field  Methods Public method 
 Public

 Protected
 Instance

 Static Static member
 Declared

 Inherited
 XNA Framework Only Supported by the XNA Framework

 .NET Compact Framework Only Supported by the .NET Compact Framework

 MemberDescription
Public methodStatic memberCommandLineArgumentsUsage(Type)
Returns a Usage string for command line argument parsing. Use CommandLineArgumentAttributes to control parsing behaviour.
Public methodEquals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode()()()
Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
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 fieldStatic memberNewLine
The System Defined new line string.
Public methodStatic memberParseCommandLineArguments(array<String>[]()[], Object)
Parses Command Line Arguments. Errors are output on Console.Error. Use CommandLineArgumentAttributes to control parsing behaviour.
Public methodStatic memberParseCommandLineArguments(array<String>[]()[], Object, ErrorReporter)
Parses Command Line Arguments. Use CommandLineArgumentAttributes to control parsing behaviour.
Public methodToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)

Remarks

Command line parsing code from Peter Halam, http://www.gotdotnet.com/community/usersamples/details.aspx?sampleguid=62a0f27e-274e-4228-ba7f-bc0118ecc41e

Inheritance Hierarchy

System..::.Object
  MbUnit.Core.Cons.CommandLine..::.CommandLineUtility

See Also