C# Класс Isop.Controller.ControllerRecognizer

Показать файл Открыть проект

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

Метод Описание
ControllerRecognizer ( Type type, CultureInfo cultureInfo = null, Func typeConverter = null, bool ignoreGlobalUnMatchedParameters = false, bool allowInferParameter = false ) : System

GetRecognizers ( string methodname ) : IEnumerable
Parse ( IEnumerable arg ) : ParsedMethod

Note that in order to register a converter you can use: TypeDescriptor.AddAttributes(typeof(AType), new TypeConverterAttribute(typeof(ATypeConverter)));

Parse ( MethodInfo methodInfo, ParsedArguments parsedArguments ) : ParsedMethod
ParseArgumentsAndMerge ( ParsedArguments parsedArguments, Action action = null ) : ParsedArguments
Recognize ( IEnumerable arg ) : bool

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

Метод Описание
FindMethodInfo ( IList arg ) : MethodInfo

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

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

public ControllerRecognizer ( Type type, CultureInfo cultureInfo = null, Func typeConverter = null, bool ignoreGlobalUnMatchedParameters = false, bool allowInferParameter = false ) : System
type System.Type
cultureInfo System.Globalization.CultureInfo
typeConverter Func
ignoreGlobalUnMatchedParameters bool
allowInferParameter bool
Результат System

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

public GetRecognizers ( string methodname ) : IEnumerable
methodname string
Результат IEnumerable

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

Note that in order to register a converter you can use: TypeDescriptor.AddAttributes(typeof(AType), new TypeConverterAttribute(typeof(ATypeConverter)));
public Parse ( IEnumerable arg ) : ParsedMethod
arg IEnumerable
Результат ParsedMethod

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

public Parse ( MethodInfo methodInfo, ParsedArguments parsedArguments ) : ParsedMethod
methodInfo System.Reflection.MethodInfo
parsedArguments Isop.Parse.ParsedArguments
Результат ParsedMethod

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

public ParseArgumentsAndMerge ( ParsedArguments parsedArguments, Action action = null ) : ParsedArguments
parsedArguments Isop.Parse.ParsedArguments
action Action
Результат Isop.Parse.ParsedArguments

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

public Recognize ( IEnumerable arg ) : bool
arg IEnumerable
Результат bool