Property | Type | Description | |
---|---|---|---|
serviceProvider | IServiceProvider |
Method | Description | |
---|---|---|
CreateJSGenerator ( IRailsEngineContext context ) : object |
Implementors should return a generator instance if the view engine supports JS generation.
|
|
GenerateJS ( IRailsEngineContext context, |
Processes the js generation view template - using the templateName to obtain the correct template, and using the context to output the result.
|
|
GenerateJS ( |
Processes the js generation view template - using the templateName to obtain the correct template, and using the specified TextWriter to output the result.
|
|
HasTemplate ( String templateName ) : bool |
Evaluates whether the specified template exists.
|
|
Process ( IRailsEngineContext context, |
Processes the view - using the templateName to obtain the correct template, and using the context to output the result.
|
|
Process ( |
Processes the view - using the templateName to obtain the correct template and writes the results to the System.IO.TextWriter.
|
|
ProcessContents ( IRailsEngineContext context, |
Wraps the specified content in the layout using the context to output the result.
|
|
ProcessPartial ( |
Should process the specified partial. The partial name must contains the path relative to the views folder.
|
|
Service ( IServiceProvider provider ) : void |
Services the specified provider.
|
Method | Description | |
---|---|---|
AdjustContentType ( IRailsEngineContext context ) : void |
Sets the HTTP Content-Type header appropriately.
|
|
AdjustJavascriptContentType ( IRailsEngineContext context ) : void |
Sets the HTTP Content-Type header to
|
|
PostSendView ( |
Invokes the Controller.PostSendView
|
|
PreSendView ( |
Invokes the Controller.PreSendView
|
protected AdjustContentType ( IRailsEngineContext context ) : void | ||
context | IRailsEngineContext | |
return | void |
protected AdjustJavascriptContentType ( IRailsEngineContext context ) : void | ||
context | IRailsEngineContext | |
return | void |
public abstract CreateJSGenerator ( IRailsEngineContext context ) : object | ||
context | IRailsEngineContext | The request context. |
return | object |
public GenerateJS ( IRailsEngineContext context, |
||
context | IRailsEngineContext | The request context. |
controller | The controller. | |
templateName | string | Name of the template. |
return | void |
public abstract GenerateJS ( |
||
output | The output. | |
context | IRailsEngineContext | The request context. |
controller | The controller. | |
templateName | string | Name of the template. |
return | void |
public abstract HasTemplate ( String templateName ) : bool | ||
templateName | String | |
return | bool |
protected PostSendView ( |
||
controller | The controller. | |
view | object | The view argument. |
return | void |
protected PreSendView ( |
||
controller | The controller. | |
view | object | The view argument. |
return | void |
public abstract Process ( IRailsEngineContext context, |
||
context | IRailsEngineContext | |
controller | ||
templateName | String | |
return | void |
public abstract Process ( |
||
output | ||
context | IRailsEngineContext | |
controller | ||
templateName | String | |
return | void |
public abstract ProcessContents ( IRailsEngineContext context, |
||
context | IRailsEngineContext | |
controller | ||
contents | String | |
return | void |
public abstract ProcessPartial ( |
||
output | The output. | |
context | IRailsEngineContext | The request context. |
controller | The controller. | |
partialName | string | The partial name. |
return | void |
public Service ( IServiceProvider provider ) : void | ||
provider | IServiceProvider | The provider. |
return | void |