Class UiComponentScreenWrapper
- Namespace
- Dynamicweb.CoreUI.Rendering
- Assembly
- Dynamicweb.CoreUI.Rendering.dll
MVC component wrapper around all rendering of Dynamicweb UI Components. The passed model and view are executed in the context of this wrapper.
[ViewComponent]
public class UiComponentScreenWrapper : ViewComponent
- Inheritance
-
UiComponentScreenWrapper
- Inherited Members
Remarks
Should never be altered.
Methods
InvokeAsync(ScreenTypeBase)
Invokes the rendering of the passed model and view.
public Task<IViewComponentResult> InvokeAsync(ScreenTypeBase model)
Parameters
modelScreenTypeBaseThe model to render - must be an instance that directly or indirectly inherits UiComponentBase