C# Class Ancestry.Daisy.Statements.ReflectionStatementDefinition

Inheritance: IStatementDefinition
Exibir arquivo Open project: Ancestry/Daisy Class Usage Examples

Public Methods

Method Description
GetMatchingCriteria ( ) : Regex
Link ( string statement ) : ILinkedStatement
Matches ( MatchingContext matchingContext ) : Match
ReflectionStatementDefinition ( MethodInfo methodInfo, Type controllerType ) : System

Private Methods

Method Description
IsolateParameters ( MethodInfo methodInfo ) : void
MethodNameToRegex ( string name ) : Regex
NormalizeMethodName ( string name ) : string

Method Details

GetMatchingCriteria() public method

public GetMatchingCriteria ( ) : Regex
return System.Text.RegularExpressions.Regex

Link() public method

public Link ( string statement ) : ILinkedStatement
statement string
return ILinkedStatement

Matches() public method

public Matches ( MatchingContext matchingContext ) : Match
matchingContext MatchingContext
return System.Text.RegularExpressions.Match

ReflectionStatementDefinition() public method

public ReflectionStatementDefinition ( MethodInfo methodInfo, Type controllerType ) : System
methodInfo System.Reflection.MethodInfo
controllerType System.Type
return System