C# Class DotNetMigrations.Core.CommandArguments

Inheritance: IArguments
Datei anzeigen Open project: jpoehls/dotnetmigrations

Public Methods

Method Description
GetArgumentProperties ( Type type ) : ArgumentAttribute>.Dictionary

Gets all properties that have ArgumentAttribute's and returns then in a dictionary.

Parse ( ArgumentSet args ) : void

Protected Methods

Method Description
CommandArguments ( ) : System

Private Methods

Method Description
AddErrorMessage ( string errorMessage ) : void
AssignAnonymousArguments ( IEnumerable anonymousArgs, ArgumentAttribute>.Dictionary properties ) : void
AssignNamedArguments ( string>.IEnumerable namedArgs, ArgumentAttribute>.Dictionary properties ) : void
SetPropertyValue ( PropertyInfo property, string value ) : void
Validate ( IEnumerable properties ) : void

Method Details

CommandArguments() protected method

protected CommandArguments ( ) : System
return System

GetArgumentProperties() public static method

Gets all properties that have ArgumentAttribute's and returns then in a dictionary.
public static GetArgumentProperties ( Type type ) : ArgumentAttribute>.Dictionary
type System.Type
return ArgumentAttribute>.Dictionary

Parse() public method

public Parse ( ArgumentSet args ) : void
args ArgumentSet
return void