Sdl.Web.Mvc/Controllers/ListController.cs
/// <summary>
/// Populate/Map and render a list entity model
/// </summary>
/// <param name="entity">The list entity model</param>
/// <param name="containerSize">The size (in grid units) of the container the entity is in</param>
/// <returns>Rendered list entity model</returns>
Populate/Map and render a list entity model
Populate / Map and render a list entity model
[HandleSectionError(View = "SectionError")]
        [DxaOutputCache]
        public ActionResult List(EntityModel entity, int containerSize = 0)
        {
            return Entity(entity, containerSize);
        }
[ HandleSectionError ( View = " " ) ] [ DxaOutputCache ] public ActionResult List ( EntityModel entity , int containerSize = 0 ) { return Entity ( entity , containerSize ) ; }
Populate/Map and render a list entity model
Populate / Map and render a list entity model
// The List action is effectively just an alias for the general Entity action (we keep it for backward compatibility).
Rendered list entity model
Rendered list entity model
entity
EntityModel
The list entity model
The list entity model
containerSize
int
The size (in grid units) of the container the entity is in
The size ( in grid units ) of the container the entity is in