메소드 | 설명 | |
---|---|---|
ControllerLifecycleExecutor ( |
Initializes a new instance of the ControllerLifecycleExecutor class.
|
|
Dispose ( ) : void |
Disposes the filters and resources associated with a controller.
|
|
InitializeController ( string areaName, string controllerName, string actionName ) : void |
Should bring the controller to an usable state by populating its fields with values that represent the current request
|
|
PerformErrorHandling ( ) : void |
Performs the error handling: - Tries to run the rescue page
|
|
ProcessSelectedAction ( ) : void |
Executes the method or the dynamic action
|
|
ProcessSelectedAction ( IDictionary actionArgs ) : void |
Executes the method or the dynamic action with custom arguments
|
|
RunStartRequestFilters ( ) : bool |
Runs the start request filters.
|
|
SelectAction ( string actionName, string controllerName ) : bool |
Selects the action to execute based on the url information
|
|
SelectAction ( string actionName, string controllerName, IDictionary actionArgs ) : bool |
Selects the action to execute based on the url information
|
|
Service ( IServiceProvider provider ) : void |
Invoked by the framework in order to give a chance to obtain other services
|
메소드 | 설명 | |
---|---|---|
CopyFilterDescriptors ( ) : Castle.MonoRail.Framework.Internal.FilterDescriptor[] |
Clones all Filter descriptors, in order to get a writable copy.
|
|
CreateAndInitializeHelpers ( ) : void |
Creates the and initialize helpers associated with a controller.
|
|
CreateResources ( |
Creates the resources associated with a controller
|
|
GetRescueFor ( IList rescues, |
Gets the rescue for the specified exception type.
|
|
ObtainDefaultLayoutName ( ) : String |
Obtains the name of the default layout.
|
|
PerformRescue ( |
Performs the rescue.
|
|
PrepareTransformFilter ( MethodInfo method ) : void |
Prepares the transform filter.
|
|
RaiseOnActionExceptionOnExtension ( ) : void |
Raises the on action exception on extension.
|
|
ReleaseResources ( ) : void |
Releases the resources.
|
|
ShouldSkip ( MethodInfo method ) : bool |
Identifies if no filter should run for the given action.
|
메소드 | 설명 | |
---|---|---|
CreateFiltersDescriptors ( ) : void | ||
CreateStandardHelpers ( IDictionary helpers ) : void | ||
DisposeFilters ( ) : void | ||
FindOutDefaultMethod ( IDictionary methodArgs ) : |
The following lines were added to handle _default processing if present look for and load _default action method DefaultActionAttribute Method arguments
|
|
InitializeControllerFieldsFromServiceProvider ( ) : void | ||
PerformAdditionalHelperInitialization ( object helperInstance ) : void |
Performs the additional helper initialization checking if the helper instance implements IServiceEnabledComponent.
|
|
PrepareResources ( ) : void | ||
PrepareTransformFilter ( ) : void | ||
ProcessFilter ( ExecuteEnum when, FilterDescriptor desc ) : bool | ||
ProcessFilters ( ExecuteEnum when ) : bool | ||
ProcessScaffoldIfPresent ( ) : void |
Invokes the scaffold support if the controller is associated with a scaffold
|
|
ProcessView ( ) : void | ||
RunAfterActionFilters ( ) : void |
Runs the after action filters.
|
|
RunAfterRenderFilters ( ) : void |
Runs the after view rendering filters.
|
|
RunBeforeActionFilters ( ) : bool |
Runs the after view rendering filters.
|
public ControllerLifecycleExecutor ( |
||
controller | The controller. | |
context | IRailsEngineContext | The context. |
리턴 | System |
protected CopyFilterDescriptors ( ) : Castle.MonoRail.Framework.Internal.FilterDescriptor[] | ||
리턴 | Castle.MonoRail.Framework.Internal.FilterDescriptor[] |
protected CreateResources ( |
||
method | The method. | |
리턴 | void |
protected GetRescueFor ( IList rescues, |
||
rescues | IList | The rescues. |
exceptionType | Type of the exception. | |
리턴 |
public InitializeController ( string areaName, string controllerName, string actionName ) : void | ||
areaName | string | The area name |
controllerName | string | The controller name |
actionName | string | The action name |
리턴 | void |
protected PerformRescue ( |
||
method | The action (can be null in the case of dynamic actions). | |
ex | The exception. | |
리턴 | bool |
protected PrepareTransformFilter ( MethodInfo method ) : void | ||
method | MethodInfo | The method. |
리턴 | void |
public ProcessSelectedAction ( IDictionary actionArgs ) : void | ||
actionArgs | IDictionary | The action args. |
리턴 | void |
protected RaiseOnActionExceptionOnExtension ( ) : void | ||
리턴 | void |
public SelectAction ( string actionName, string controllerName ) : bool | ||
actionName | string | The action name |
controllerName | string | The controller name |
리턴 | bool |
public SelectAction ( string actionName, string controllerName, IDictionary actionArgs ) : bool | ||
actionName | string | The action name |
controllerName | string | The controller name |
actionArgs | IDictionary | The action arguments. |
리턴 | bool |
public Service ( IServiceProvider provider ) : void | ||
provider | IServiceProvider | The service proviver |
리턴 | void |
protected ShouldSkip ( MethodInfo method ) : bool | ||
method | MethodInfo | The method. |
리턴 | bool |