C# Class Manos.Routing.ParameterizedActionTarget

Inheritance: IManosTarget
显示文件 Open project: toptensoftware/manos Class Usage Examples

Public Methods

Method Description
Invoke ( ManosApp app, IManosContext ctx ) : void
ParameterizedActionTarget ( object target, MethodInfo method, ParameterizedAction action ) : System
TryConvertFormData ( Type type, string str_value, object &data ) : bool
TryConvertType ( IManosContext ctx, string name, ParameterInfo param, object &data ) : bool
TryConvertUnsafeString ( IManosContext ctx, Type type, ParameterInfo param, UnsafeString unsafe_str_value, object &data ) : bool
TryGetDataForParamList ( ParameterInfo parameters, ManosApp app, IManosContext ctx, object &data ) : bool

Private Methods

Method Description
GetParamList ( ) : System.Reflection.ParameterInfo[]

Method Details

Invoke() public method

public Invoke ( ManosApp app, IManosContext ctx ) : void
app ManosApp
ctx IManosContext
return void

ParameterizedActionTarget() public method

public ParameterizedActionTarget ( object target, MethodInfo method, ParameterizedAction action ) : System
target object
method System.Reflection.MethodInfo
action ParameterizedAction
return System

TryConvertFormData() public static method

public static TryConvertFormData ( Type type, string str_value, object &data ) : bool
type System.Type
str_value string
data object
return bool

TryConvertType() public static method

public static TryConvertType ( IManosContext ctx, string name, ParameterInfo param, object &data ) : bool
ctx IManosContext
name string
param System.Reflection.ParameterInfo
data object
return bool

TryConvertUnsafeString() public static method

public static TryConvertUnsafeString ( IManosContext ctx, Type type, ParameterInfo param, UnsafeString unsafe_str_value, object &data ) : bool
ctx IManosContext
type System.Type
param System.Reflection.ParameterInfo
unsafe_str_value UnsafeString
data object
return bool

TryGetDataForParamList() public static method

public static TryGetDataForParamList ( ParameterInfo parameters, ManosApp app, IManosContext ctx, object &data ) : bool
parameters System.Reflection.ParameterInfo
app ManosApp
ctx IManosContext
data object
return bool