public IEnumerable<TypeDescriptor<LayoutDescriptor>> DescribeLayouts() { var context = new DescribeLayoutContext(); foreach (var provider in _layoutProviders) { provider.Describe(context); } return context.Describe(); }
public void Describe(DescribeLayoutContext describe) { describe.For("Html", T("Html"),T("Html Layouts")) .Element("Grid", T("Grid"), T("Organizes content items in a grid."), DisplayLayout, RenderLayout, "GridLayout" ); }
public void Describe(DescribeLayoutContext describe) { describe.For("Html", T("Html"),T("Html Layouts")) .Element("Raw", T("Raw"), T("Renders content with custom separators."), DisplayLayout, RenderLayout, "RawLayout" ); }
public void Describe(DescribeLayoutContext describe) { describe.For("Html", T("Html"),T("Html Layouts")) .Element("Carousel", T("Carousel"), T("Renders markup for use with Bootstrap Carousel."), DisplayLayout, RenderLayout, "CarouselLayout" ); }
public void Describe(DescribeLayoutContext describe) { describe.For("Html", T("Html"),T("Html Layouts")) .Element("List", T("Html List"), T("Organizes content items inside a simple list."), DisplayLayout, RenderLayout, "ListLayout" ); }
public void Describe(DescribeLayoutContext describe) { describe.For("Html", T("Html"),T("Html Layouts")) .Element("Shape", T("Shape"), T("Uses a specific shape name to render the layout."), DisplayLayout, RenderLayout, "ShapeLayout" ); }
public void Describe(DescribeLayoutContext describe) { describe.For("JSON", T("JSON"), T("JSON Layouts")) .Element("List", T("JSON List"), T("Organizes content items inside a json array."), DisplayLayout, RenderLayout, "JsonLayout" ); }
public void Describe(DescribeLayoutContext describe) { describe.For("Html", T("Html"),T("Html Layouts")) .Element("Carousel", T("Carousel"), T("Organizes content items in a carousel."), DisplayLayout, RenderLayout, "CarouselLayout" ); }