Свойство | Type | Description | |
---|---|---|---|
RedirectToReferer | void | ||
ResetIsPostback | void | ||
SetEvaluatedAction | void | ||
TransformActionName | string |
Méthode | Description | |
---|---|---|
CancelLayout ( ) : void |
Cancels the layout processing.
|
|
CancelView ( ) : void |
Cancels the view processing.
|
|
Controller ( ) : System |
Constructs a Controller
|
|
DeliverEmail ( Message message ) : void |
Attempts to deliver the Message using the server specified on the web.config.
|
|
DirectRender ( string contents ) : void |
Sends raw contents to be rendered directly by the view engine. It's up to the view engine just to apply the layout and nothing else.
|
|
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
HasTemplate ( string templateName ) : bool |
Returns true if the specified template exists.
|
|
InPlaceRenderSharedView ( |
Specifies the shared view to be processed and results are written to System.IO.TextWriter. (A partial view shared by others views and usually in the root folder of the view directory).
|
|
InPlaceRenderView ( |
Specifies the view to be processed and results are written to System.IO.TextWriter.
|
|
InitializeControllerState ( string areaName, string controllerName, string actionName ) : void |
Initializes the state of the controller.
|
|
InitializeFieldsFromServiceProvider ( IRailsEngineContext context ) : void |
Extracts the services the controller uses from the context -- which ultimately is a service provider.
|
|
PostSendView ( object view ) : void |
Invoked by the view engine to perform any logic after the view had been sent to the client.
|
|
PreSendView ( object view ) : void |
Invoked by the view engine to perform any logic before the view is sent to the client.
|
|
Redirect ( string url ) : void |
Redirects to the specified URL. All other Redirects call this one.
|
|
Redirect ( string url, IDictionary parameters ) : void |
Redirects to the specified URL.
|
|
Redirect ( string url, |
Redirects to the specified URL.
|
|
Redirect ( string controller, string action ) : void |
Redirects to another controller and action.
|
|
Redirect ( string controller, string action, IDictionary parameters ) : void |
Redirects to another controller and action with the specified paramters.
|
|
Redirect ( string controller, string action, |
Redirects to another controller and action with the specified paramters.
|
|
Redirect ( string area, string controller, string action ) : void |
Redirects to another controller and action.
|
|
Redirect ( string area, string controller, string action, IDictionary parameters ) : void |
Redirects to another controller and action with the specified paramters.
|
|
Redirect ( string area, string controller, string action, |
Redirects to another controller and action with the specified paramters.
|
|
RedirectToSiteRoot ( ) : void |
Redirects to the site root directory (
|
|
RenderEmailAndSend ( string templateName ) : void |
Renders and delivers the e-mail message. DeliverEmail
|
|
RenderMailMessage ( string templateName ) : Message |
Creates an instance of Message using the specified template for the body
|
|
RenderMailMessage ( string templateName, bool doNotApplyLayout ) : Message |
Creates an instance of Message using the specified template for the body
|
|
RenderSharedView ( string name ) : void |
Specifies the shared view to be processed after the action has finished its processing. (A partial view shared by others views and usually in the root folder of the view directory).
|
|
RenderSharedView ( string name, bool skipLayout ) : void |
Specifies the shared view to be processed after the action has finished its processing. (A partial view shared by others views and usually in the root folder of the view directory).
|
|
RenderText ( IFormatProvider formatProvider, string contents ) : void |
Cancels the view processing and writes the specified contents to the browser
|
|
RenderText ( string contents ) : void |
Cancels the view processing and writes the specified contents to the browser
|
|
RenderView ( string name ) : void |
Specifies the view to be processed after the action has finished its processing.
|
|
RenderView ( string name, bool skipLayout ) : void |
Specifies the view to be processed after the action has finished its processing.
|
|
RenderView ( string name, bool skipLayout, string mimeType ) : void |
Specifies the view to be processed after the action has finished its processing.
|
|
RenderView ( string controller, string name ) : void |
Specifies the view to be processed after the action has finished its processing.
|
|
RenderView ( string controller, string name, bool skipLayout ) : void |
Specifies the view to be processed after the action has finished its processing.
|
|
RenderView ( string controller, string name, bool skipLayout, string mimeType ) : void |
Specifies the view to be processed after the action has finished its processing.
|
|
RenderView ( string controller, string name, string mimeType ) : void |
Specifies the view to be processed after the action has finished its processing.
|
|
Send ( string action ) : void |
Performs the specified action, which means:
|
|
Send ( string action, IDictionary actionArgs ) : void |
Performs the specified action with arguments.
|
Méthode | Description | |
---|---|---|
CreateValidatorRunner ( IValidatorRegistry validatorRegistry ) : Castle.Components.Validator.ValidatorRunner |
Creates the default validator runner. You can override this method to create a runner with some different configuration |
|
Initialize ( ) : void |
Initializes this instance. Implementors can use this method to perform initialization
|
|
InternalSend ( string action, IDictionary actionArgs ) : void |
Performs the specified action, which means:
|
|
InvokeMethod ( |
Pendent
|
|
InvokeMethod ( |
Pendent
|
|
RedirectToAction ( string action ) : void |
Redirects to another action in the same controller.
|
|
RedirectToAction ( string action, IDictionary queryStringParameters ) : void |
Redirects to another action in the same controller.
|
|
RedirectToAction ( string action, |
Redirects to another action in the same controller.
|
|
RedirectToReferrer ( ) : void |
Redirects to the referrer action, according to the "HTTP_REFERER" header (
|
|
SelectMethod ( string action, IDictionary actions, IRequest request, IDictionary actionArgs ) : |
Pendent
|
|
ToQueryString ( IDictionary parameters ) : string |
Creates a querystring string representation of the entries in the dictionary.
|
|
ToQueryString ( |
Creates a querystring string representation of the namevalue collection.
|
Méthode | Description | |
---|---|---|
RedirectToReferer ( ) : void | ||
ResetIsPostback ( ) : void |
To preserve standard Action semantics when using ASP.NET Views, the event handlers in the CodeBehind typically call Send(String). As a result, the IsPostBack property must be logically cleared to allow the Action to behave as if it was called directly.
|
|
SetEvaluatedAction ( string actionName ) : void |
Sets the evaluated action.
|
|
TransformActionName ( string action ) : string |
Gives a chance to subclasses to format the action name properly WizardStepPage
|
protected CreateValidatorRunner ( IValidatorRegistry validatorRegistry ) : Castle.Components.Validator.ValidatorRunner | ||
validatorRegistry | IValidatorRegistry | The validator registry. |
Résultat | Castle.Components.Validator.ValidatorRunner |
public DeliverEmail ( Message message ) : void | ||
message | Message | The instance of System.Web.Mail.MailMessage that will be sent |
Résultat | void |
public DirectRender ( string contents ) : void | ||
contents | string | Contents to be rendered. |
Résultat | void |
public HasTemplate ( string templateName ) : bool | ||
templateName | string | |
Résultat | bool |
public InPlaceRenderSharedView ( |
||
output | ||
name | string | The name of the view to process. |
Résultat | void |
public InPlaceRenderView ( |
||
output | ||
name | string | The name of the view to process. |
Résultat | void |
public InitializeControllerState ( string areaName, string controllerName, string actionName ) : void | ||
areaName | string | Name of the area. |
controllerName | string | Name of the controller. |
actionName | string | Name of the action. |
Résultat | void |
public InitializeFieldsFromServiceProvider ( IRailsEngineContext context ) : void | ||
context | IRailsEngineContext | The context/service provider. |
Résultat | void |
protected InternalSend ( string action, IDictionary actionArgs ) : void | ||
action | string | Action name |
actionArgs | IDictionary | Action arguments |
Résultat | void |
protected InvokeMethod ( |
||
method | ||
methodArgs | IDictionary | |
Résultat | void |
protected InvokeMethod ( |
||
method | ||
request | IRequest | |
methodArgs | IDictionary | |
Résultat | void |
public Redirect ( string url, IDictionary parameters ) : void | ||
url | string | Target URL |
parameters | IDictionary | URL parameters |
Résultat | void |
public Redirect ( string url, |
||
url | string | Target URL |
parameters | URL parameters | |
Résultat | void |
public Redirect ( string controller, string action ) : void | ||
controller | string | Controller name |
action | string | Action name |
Résultat | void |
public Redirect ( string controller, string action, IDictionary parameters ) : void | ||
controller | string | Controller name |
action | string | Action name |
parameters | IDictionary | Key/value pairings |
Résultat | void |
public Redirect ( string controller, string action, |
||
controller | string | Controller name |
action | string | Action name |
parameters | Key/value pairings | |
Résultat | void |
public Redirect ( string area, string controller, string action ) : void | ||
area | string | Area name |
controller | string | Controller name |
action | string | Action name |
Résultat | void |
public Redirect ( string area, string controller, string action, IDictionary parameters ) : void | ||
area | string | Area name |
controller | string | Controller name |
action | string | Action name |
parameters | IDictionary | Key/value pairings |
Résultat | void |
public Redirect ( string area, string controller, string action, |
||
area | string | Area name |
controller | string | Controller name |
action | string | Action name |
parameters | Key/value pairings | |
Résultat | void |
protected RedirectToAction ( string action ) : void | ||
action | string | The action name |
Résultat | void |
protected RedirectToAction ( string action, IDictionary queryStringParameters ) : void | ||
action | string | The action name |
queryStringParameters | IDictionary | Query string entries |
Résultat | void |
protected RedirectToAction ( string action, |
||
action | string | The action name |
queryStringParameters | Query string entries | |
Résultat | void |
public RenderEmailAndSend ( string templateName ) : void | ||
templateName | string | |
Résultat | void |
public RenderMailMessage ( string templateName ) : Message | ||
templateName | string | /// Name of the template to load. /// Will look in Views/mail for that template file. /// |
Résultat | Message |
public RenderMailMessage ( string templateName, bool doNotApplyLayout ) : Message | ||
templateName | string | /// Name of the template to load. /// Will look in Views/mail for that template file. /// |
doNotApplyLayout | bool | If |
Résultat | Message |
public RenderSharedView ( string name ) : void | ||
name | string | |
Résultat | void |
public RenderSharedView ( string name, bool skipLayout ) : void | ||
name | string | |
skipLayout | bool | |
Résultat | void |
public RenderText ( IFormatProvider formatProvider, string contents ) : void | ||
formatProvider | IFormatProvider | |
contents | string | |
Résultat | void |
public RenderText ( string contents ) : void | ||
contents | string | |
Résultat | void |
public RenderView ( string name ) : void | ||
name | string | view template name (the file extension is optional) |
Résultat | void |
public RenderView ( string name, bool skipLayout ) : void | ||
name | string | view template name (the file extension is optional) |
skipLayout | bool | If set to |
Résultat | void |
public RenderView ( string name, bool skipLayout, string mimeType ) : void | ||
name | string | view template name (the file extension is optional) |
skipLayout | bool | If set to |
mimeType | string | The mime type to use on the reply |
Résultat | void |
public RenderView ( string controller, string name ) : void | ||
controller | string | Controller name get view from (if you intend to user another controller's view |
name | string | view template name (the file extension is optional) |
Résultat | void |
public RenderView ( string controller, string name, bool skipLayout ) : void | ||
controller | string | Controller name get view from (if you intend to user another controller's view |
name | string | view template name (the file extension is optional) |
skipLayout | bool | If set to |
Résultat | void |
public RenderView ( string controller, string name, bool skipLayout, string mimeType ) : void | ||
controller | string | Controller name get view from (if you intend to user another controller's view |
name | string | view template name (the file extension is optional) |
skipLayout | bool | If set to |
mimeType | string | The mime type to use on the reply |
Résultat | void |
public RenderView ( string controller, string name, string mimeType ) : void | ||
controller | string | Controller name get view from (if you intend to user another controller's view |
name | string | view template name (the file extension is optional) |
mimeType | string | The mime type to use on the reply |
Résultat | void |
protected SelectMethod ( string action, IDictionary actions, IRequest request, IDictionary actionArgs ) : |
||
action | string | |
actions | IDictionary | |
request | IRequest | |
actionArgs | IDictionary | |
Résultat |
public Send ( string action, IDictionary actionArgs ) : void | ||
action | string | Action name |
actionArgs | IDictionary | Action arguments |
Résultat | void |
protected ToQueryString ( IDictionary parameters ) : string | ||
parameters | IDictionary | The parameters. |
Résultat | string |
protected ToQueryString ( |
||
parameters | The parameters. | |
Résultat | string |