C# Class NAnt.Core.Util.CommandLineArgument

Represents a valid command-line argument.
Afficher le fichier Open project: skolima/NAnt Class Usage Examples

Méthodes publiques

Méthode Description
CommandLineArgument ( NAnt.Core.Util.CommandLineArgumentAttribute attribute, PropertyInfo propertyInfo ) : System
SetValue ( string value ) : void

Assigns the specified value to the argument.

Private Methods

Méthode Description
Finish ( object destination ) : void
GetArgumentType ( NAnt.Core.Util.CommandLineArgumentAttribute attribute, PropertyInfo propertyInfo ) : CommandLineArgumentTypes
GetElementType ( PropertyInfo propertyInfo ) : Type
IsArrayType ( Type type ) : bool

Indicates whether the specified Type is an array.

IsCollectionType ( Type type ) : bool

Indicates whether the specified Type is collection-based.

IsNameValueCollectionType ( Type type ) : bool

Indicates whether the specified Type is a NameValueCollection.

ParseValue ( Type type, string stringData ) : object

Method Details

CommandLineArgument() public méthode

public CommandLineArgument ( NAnt.Core.Util.CommandLineArgumentAttribute attribute, PropertyInfo propertyInfo ) : System
attribute NAnt.Core.Util.CommandLineArgumentAttribute
propertyInfo System.Reflection.PropertyInfo
Résultat System

SetValue() public méthode

Assigns the specified value to the argument.
/// Duplicate argument. /// -or- /// Invalid value. ///
public SetValue ( string value ) : void
value string The value that should be assigned to the argument.
Résultat void