[This is preliminary documentation and is subject to change.]
The Controller type exposes the following members.Constructors
Name | Description | |
---|---|---|
![]() | Controller | Initializes a new instance of the Controller class |
Methods
Name | Description | |
---|---|---|
![]() | ActionInvocationFinally |
Override to add logic/filtering finally after the invocation of action method
|
![]() | AfterActionInvocation |
Override to add logic/filtering right after the invocation of action method. Must return the result (which can be altered/filtered).
The default implementation calls ActionFilters
|
![]() | BeforeActionInvocation |
Override to add logic/filtering right before the invocation of action method.
Return TRUE to indicate that request has already been handled and no need to call method body and AfterActionInvocation in which case
return result via 'out result' paremeter.
The default implementation calls ActionFilters
|
![]() | Destructor |
Override this method to do actual destructor work
(Inherited from DisposableObject.) |
![]() | Dispose |
Deterministically disposes object. DO NOT OVERRIDE this method, override Destructor() instead
(Inherited from DisposableObject.) |
![]() | EnsureObjectNotDisposed |
Checks to see whether object dispose started or has already been disposed and throws an exception if Dispose() was called
(Inherited from DisposableObject.) |
![]() | ![]() | Determines whether the specified object is equal to the current object. (Inherited from ![]() |
![]() | Finalize | (Inherited from DisposableObject.) |
![]() | FindMatchingAction |
Override to perform custom action name + params -> MethodInfo, param array resolution.
This method rarely needs to be overridden because the framework does the resolution that suites most cases
|
![]() ![]() | GetActionFilters(MethodInfo) |
Returns cached (for performance)ordered array of ActionFilterAttributes for action method
|
![]() ![]() | GetActionFilters(Type) |
Returns cached (for performance)ordered array of ActionFilterAttributes for type
|
![]() | ![]() | Serves as the default hash function. (Inherited from ![]() |
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | ![]() | Returns a string that represents the current object. (Inherited from ![]() |
Extension Methods
Fields
Name | Description | |
---|---|---|
![]() ![]() | DEFAULT_MVC_ACTION | |
![]() ![]() | DEFAULT_VAR_MVC_ACTION | |
![]() | m_WorkContext |
Properties
Name | Description | |
---|---|---|
![]() | ActionVarName | |
![]() | DefaultActionName | |
![]() | Disposed |
Indicates whether this object was already disposed - the Dispose() has finished
(Inherited from DisposableObject.) |
![]() | DisposeStarted |
Indicates whether this object Dispose() has been called and dispose started but not finished yet
(Inherited from DisposableObject.) |
![]() | WorkContext |
Returns current work context
|
See Also