Class NovaGenericViewComponent
Base class for view components
Inherited Members
Namespace: Noxum.Nova.Razor.Model
Assembly: Noxum.Nova.Razor.Model.dll
Syntax
public class NovaGenericViewComponent : ViewComponent
Methods
Invoke(string, NovaRazorModel, IEnumerable<KeyValuePair<string, object>>)
Render a Razor View
Declaration
public IViewComponentResult Invoke(string apiId, NovaRazorModel model, IEnumerable<KeyValuePair<string, object>> data = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | apiId | The Nova ApiIdentifier of the Razor View |
| NovaRazorModel | model | The model |
| IEnumerable<KeyValuePair<string, object>> | data | An optional enumeration of view data updates |
Returns
| Type | Description |
|---|---|
| IViewComponentResult | The view component result to render |