NamespaceSystemLibrary.Common.Episerver.Components
Block Components without a specific 'AsyncComponent' will automatically inherit and use this
This assumes by convention, that there is then a 'Index.cshtml' or 'BlockName.cshtml' file located at the 'DefaultComponentPathPredicate' for the specific Block Type
Or; in other words-ish: In the same folder next to the "BlockData.cs" file, there should be a view fileRemarks
Important to note that this is only in use if you do not bother creating your own Component.cs file (previously named BlockControllers)
_DefaultBlockComponent
[TemplateDescriptor(Inherited = true)] public class _DefaultBlockComponent : AsyncComponent<BlockData>, IRenderTemplate<BlockData>, IRenderTemplate
Inheritance
System.Object
Microsoft.AspNetCore.Mvc.ViewComponent
EPiServer.Web.Mvc.AsyncPartialContentComponent<EPiServer.Core.BlockData>
EPiServer.Web.Mvc.AsyncBlockComponent<EPiServer.Core.BlockData>
AsyncComponent<EPiServer.Core.BlockData>
_DefaultBlockComponent
Implements
EPiServer.Web.IRenderTemplate<EPiServer.Core.BlockData>
EPiServer.Web.IRenderTemplate
Inherited Members
EPiServer.Web.Mvc.AsyncPartialContentComponent<EPiServer.Core.BlockData>.InvokeAsync(EPiServer.Core.BlockData)
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
Methods
Overrides
EPiServer.Web.Mvc.AsyncPartialContentComponent<EPiServer.Core.BlockData>.InvokeComponentAsync(EPiServer.Core.BlockData)
Implements
EPiServer.Web.IRenderTemplate<TModel>
EPiServer.Web.IRenderTemplate
Extension Methods
}