C# Класс NAnt.Core.Util.CommandLineArgument

Represents a valid command-line argument.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CommandLineArgument ( NAnt.Core.Util.CommandLineArgumentAttribute attribute, PropertyInfo propertyInfo ) : System
SetValue ( string value ) : void

Assigns the specified value to the argument.

Приватные методы

Метод Описание
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

Описание методов

CommandLineArgument() публичный Метод

public CommandLineArgument ( NAnt.Core.Util.CommandLineArgumentAttribute attribute, PropertyInfo propertyInfo ) : System
attribute NAnt.Core.Util.CommandLineArgumentAttribute
propertyInfo System.Reflection.PropertyInfo
Результат System

SetValue() публичный Метод

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.
Результат void