Interface IMvcService
- Namespace
- HeBianGu.Service.Mvc
- Assembly
- HeBianGu.Service.Mvc.dll
public interface IMvcService
- Extension Methods
-
Properties
History
Stack<ILinkAction> History { get; }
Property Value
- Stack<ILinkAction>
Methods
CreateActionResult(LinkAction)
Task<IActionResult> CreateActionResult(LinkAction linkAction)
Parameters
linkAction
LinkAction
Returns
- Task<IActionResult>
DoActionResult(LinkAction)
Task DoActionResult(LinkAction linkAction)
Parameters
linkAction
LinkAction
Returns
- Task
GetActionResult(IController, string, object[])
object GetActionResult(IController controller, string action, object[] args = null)
Parameters
controller
IController
action
string
args
object[]
Returns
- object
GetActionResult(string, string)
IActionResult GetActionResult(string controlName, string ActionName)
Parameters
controlName
string
ActionName
string
Returns
- IActionResult
GetController(LinkAction)
IController GetController(LinkAction linkAction)
Parameters
linkAction
LinkAction
Returns
- IController
GetLinkActionGroups()
LinkActionGroups GetLinkActionGroups()
Returns
- LinkActionGroups
GetLinkActions()
List<IAction> GetLinkActions()
Returns
- List<IAction>
GetOfType(Predicate<Type>)
Type GetOfType(Predicate<Type> match)
Parameters
match
Predicate<Type>
Returns
- Type
GetPath(string, string)
string GetPath(string controlName, string ActionName)
Parameters
controlName
string
ActionName
string
Returns
- string
GetUri(string, string)
Uri GetUri(string controlName, string ActionName)
Parameters
controlName
string
ActionName
string
Returns
- Uri
GetView(string, string)
Control GetView(string controlName, string ActionName)
Parameters
controlName
string
ActionName
string
Returns
- Control
GetViewModel(string)
object GetViewModel(string controlName)
Parameters
controlName
string
Returns
- object
Init()
RegisterMvc<TClass>()
void RegisterMvc<TClass>() where TClass : class
Type Parameters
TClass