C# Class DotNetMigrations.Core.ArgumentSet

Exibir arquivo Open project: jpoehls/dotnetmigrations Class Usage Examples

Public Methods

Method Description
ContainsName ( string name ) : bool

Returns True/False whether this set contains and argument with the given name.

GetByName ( string name ) : string

Returns the value of the argument with the given name.

Parse ( string args ) : ArgumentSet

Parses an array of arguments into collections of named and anonymous arguments.

Private Methods

Method Description
ArgumentSet ( ) : System
GetName ( string arg ) : string

Returns the name without the prefix.

IsName ( string arg ) : bool

Returns True/False whether the given argument is a name or not.

Method Details

ContainsName() public method

Returns True/False whether this set contains and argument with the given name.
public ContainsName ( string name ) : bool
name string
return bool

GetByName() public method

Returns the value of the argument with the given name.
public GetByName ( string name ) : string
name string
return string

Parse() public static method

Parses an array of arguments into collections of named and anonymous arguments.
public static Parse ( string args ) : ArgumentSet
args string
return ArgumentSet