C# 클래스 Isop.CommandLine.ControllerRecognizer

파일 보기 프로젝트 열기: wallymathieu/isop

Private Properties

프로퍼티 타입 설명
FindMethodInfo Method

공개 메소드들

메소드 설명
ControllerRecognizer ( Controller controller, Configuration configuration, TypeContainer typeContainer, 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 ( Method methodInfo, ParsedArguments parsedArguments ) : ParsedMethod
ParseArgumentsAndMerge ( IEnumerable arg, ParsedArguments parsedArguments ) : ParsedArguments
ParseArgumentsAndMerge ( string actionName, string>.Dictionary arg, ParsedArguments parsedArguments ) : ParsedArguments
Recognize ( IEnumerable arg ) : bool
Recognize ( string controllerName, string actionName ) : bool

비공개 메소드들

메소드 설명
FindMethodInfo ( IList arg ) : Method

메소드 상세

ControllerRecognizer() 공개 메소드

public ControllerRecognizer ( Controller controller, Configuration configuration, TypeContainer typeContainer, bool allowInferParameter = false ) : System
controller Controller
configuration Configuration
typeContainer TypeContainer
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 ( Method methodInfo, ParsedArguments parsedArguments ) : ParsedMethod
methodInfo Method
parsedArguments ParsedArguments
리턴 ParsedMethod

ParseArgumentsAndMerge() 공개 메소드

public ParseArgumentsAndMerge ( IEnumerable arg, ParsedArguments parsedArguments ) : ParsedArguments
arg IEnumerable
parsedArguments ParsedArguments
리턴 ParsedArguments

ParseArgumentsAndMerge() 공개 메소드

public ParseArgumentsAndMerge ( string actionName, string>.Dictionary arg, ParsedArguments parsedArguments ) : ParsedArguments
actionName string
arg string>.Dictionary
parsedArguments ParsedArguments
리턴 ParsedArguments

Recognize() 공개 메소드

public Recognize ( IEnumerable arg ) : bool
arg IEnumerable
리턴 bool

Recognize() 공개 메소드

public Recognize ( string controllerName, string actionName ) : bool
controllerName string
actionName string
리턴 bool