NamespaceSystemLibrary.Common.Episerver.Components
AsyncComponent<T>
public abstract class AsyncComponent<T> : AsyncBlockComponent<T>, IRenderTemplate<T>, IRenderTemplate where T : BlockData
Inheritance
System.Object
Microsoft.AspNetCore.Mvc.ViewComponent
EPiServer.Web.Mvc.AsyncPartialContentComponent<T>
EPiServer.Web.Mvc.AsyncBlockComponent<T>
AsyncComponent<T>
Implements
EPiServer.Web.IRenderTemplate<T>
EPiServer.Web.IRenderTemplate
Inherited Members
EPiServer.Web.Mvc.AsyncPartialContentComponent<T>.InvokeAsync(T)
EPiServer.Web.Mvc.AsyncPartialContentComponent<T>.InvokeComponentAsync(T)
Microsoft.AspNetCore.Mvc.ViewComponent.Content(System.String)
Microsoft.AspNetCore.Mvc.ViewComponent.View()
Microsoft.AspNetCore.Mvc.ViewComponent.View(System.String)
Microsoft.AspNetCore.Mvc.ViewComponent.View<TModel>(TModel)
Microsoft.AspNetCore.Mvc.ViewComponent.View<TModel>(System.String, TModel)
Microsoft.AspNetCore.Mvc.ViewComponent.HttpContext
Microsoft.AspNetCore.Mvc.ViewComponent.Request
Microsoft.AspNetCore.Mvc.ViewComponent.User
Microsoft.AspNetCore.Mvc.ViewComponent.UserClaimsPrincipal
Microsoft.AspNetCore.Mvc.ViewComponent.RouteData
Microsoft.AspNetCore.Mvc.ViewComponent.ViewBag
Microsoft.AspNetCore.Mvc.ViewComponent.ModelState
Microsoft.AspNetCore.Mvc.ViewComponent.Url
Microsoft.AspNetCore.Mvc.ViewComponent.ViewComponentContext
Microsoft.AspNetCore.Mvc.ViewComponent.ViewContext
Microsoft.AspNetCore.Mvc.ViewComponent.ViewData
Microsoft.AspNetCore.Mvc.ViewComponent.TempData
Microsoft.AspNetCore.Mvc.ViewComponent.ViewEngine
Type Parameters
Name | Description |
---|---|
T |
Methods
Remarks
Assumes by default that all frontend react components is registered under DOM variable "window.reactComponents."
Remarks
Assumes by default that all frontend react components is registered under DOM variable "window.reactComponents."
Use the 'componentFullName' if your react components live elsewhere
Use 'additionalProps' as a mean to add more properties without extending 'model'
Use 'additionalProps' as a mean to render a content area and its children as 'json object' instead of invoking the render method on the component. Supports up to a depth of 12 nested blocks
Implements
EPiServer.Web.IRenderTemplate<TModel>
EPiServer.Web.IRenderTemplate
Extension Methods
}