C# Class ALE.Http.Route

Afficher le fichier Open project: blesh/ALE

Méthodes publiques

Свойство Type Description
ControllerType System.Type
HandlerInfo System.Reflection.MethodInfo
HandlerParameters ParameterInfo>.Dictionary
Parameters string[]
Path string
PathParser System.Text.RegularExpressions.Regex
PathTester System.Text.RegularExpressions.Regex

Méthodes publiques

Méthode Description
CreatePathTester ( string path ) : Regex
GetParameters ( string path ) : string[]
Route ( string path, string methodName, Type controllerType ) : System
TryExecute ( IContext context, System.Action next ) : bool

Method Details

CreatePathTester() public static méthode

public static CreatePathTester ( string path ) : Regex
path string
Résultat System.Text.RegularExpressions.Regex

GetParameters() public static méthode

public static GetParameters ( string path ) : string[]
path string
Résultat string[]

Route() public méthode

public Route ( string path, string methodName, Type controllerType ) : System
path string
methodName string
controllerType System.Type
Résultat System

TryExecute() public méthode

public TryExecute ( IContext context, System.Action next ) : bool
context IContext
next System.Action
Résultat bool

Property Details

ControllerType public_oe property

public Type,System ControllerType
Résultat System.Type

HandlerInfo public_oe property

public MethodInfo,System.Reflection HandlerInfo
Résultat System.Reflection.MethodInfo

HandlerParameters public_oe property

public Dictionary HandlerParameters
Résultat ParameterInfo>.Dictionary

Parameters public_oe property

public string[] Parameters
Résultat string[]

Path public_oe property

public string Path
Résultat string

PathParser public_oe static_oe property

public static Regex,System.Text.RegularExpressions PathParser
Résultat System.Text.RegularExpressions.Regex

PathTester public_oe property

public Regex,System.Text.RegularExpressions PathTester
Résultat System.Text.RegularExpressions.Regex