Namespace Dynamicweb.Rendering
Classes
- LoopCollection
Represents a collection of loops.
- LoopData
Represents the parsed temp data in a loop instance.
- LoopDataCollection
Represents a collection of loop data.
- RazorTemplateConverter
Analyzes and convert razor templates in C# from .net framework to .net core versions.
- Converts HttpContext to use Dynamicweb.Context
- Removes @using System.Web statements
- Converts @Helper signatures to voids inside @functions blocks
- Converts all calls to helpers @MyHelper() to method calls @{MyHelper();}
- Reader
Used to read a template file in html or cshtml and handle includes and master file merging. The
- Tag
Represents a template tag definition and its value.
- TagCollection
Represents a collection of Tag.
- Template
Loads HTML (XSLT) based templates and expose methods for setting dynamic values and loops. Returns a parsed version of the template replacing template tags with dynamic values.
- TemplateExtender
Base implementation of Template Extenders. Usually this not null is not inherited directly. Inherit one of the implemenations, i.e.
Dynamicweb.Frontend.PageTemplateExtenderorDynamicweb.Ecommerce.Products.ProductTemplateExtender.
- ViewModelBase
ViewModelBase represents a view model that can be used for rendering templates using a model instead of template tags. Inherit from this base class to create a view model.
- ViewModelPropertyFilter
Limits which properties of a ViewModelBase are written when the view model is serialized to JSON. Attach it to a view model with SetPropertyFilter(ViewModelBase, ViewModelPropertyFilter?); it is propagated to nested view models during serialization, so setting it on a root view model is enough to shape the entire response.
- ViewModelPropertyFilterExtensions
Extension methods for attaching a ViewModelPropertyFilter to a ViewModelBase. The filter is deliberately not exposed as a property on the view models themselves, so it never shows up in serialized output, reflection over view model properties, or template IntelliSense.
Interfaces
Enums
- Template.TemplateType
The type of template