Method | Description | |
---|---|---|
GenerateJSProxy ( IRailsEngineContext context, string proxyName, string area, string controller ) : String |
Generates an AJAX JavaScript proxy for a given controller.
|
|
PrototypeAjaxProxyGenerator ( ) : System |
Initializes a new instance of the PrototypeAjaxProxyGenerator class.
|
|
Service ( IServiceProvider provider ) : void |
Invoked by the framework in order to give a chance to obtain other services
|
Method | Description | |
---|---|---|
GetParameterName ( ParameterInfo paramInfo ) : string |
Gets the name of the parameter.
|
|
GetPropertyValue ( object obj, string propName ) : object |
Gets the property value.
|
|
GetSingleAttribute ( ICustomAttributeProvider obj, |
Gets the single attribute.
|
|
ToCamelCase ( string value ) : string |
Toes the camel case.
|
public GenerateJSProxy ( IRailsEngineContext context, string proxyName, string area, string controller ) : String | ||
context | IRailsEngineContext | The context of the current request |
proxyName | string | Name of the javascript proxy object |
area | string | area which the controller belongs to |
controller | string | Controller which will be target of the proxy |
return | String |
public PrototypeAjaxProxyGenerator ( ) : System | ||
return | System |
public Service ( IServiceProvider provider ) : void | ||
provider | IServiceProvider | The service proviver |
return | void |