Table of Contents

Class UiComponentWrapper

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 UiComponentWrapper : ViewComponent
Inheritance
UiComponentWrapper
Inherited Members

Remarks

Should never be altered.

Methods

InvokeAsync(UiComponentBase, Dictionary<string, string>)

Invokes the rendering of the passed model and view.

public Task<IViewComponentResult> InvokeAsync(UiComponentBase model, Dictionary<string, string> attributes)

Parameters

model UiComponentBase

The model to render - must be an instance that directly or indirectly inherits UiComponentBase

attributes Dictionary<string, string>

Returns

Task<IViewComponentResult>
To top