Table of Contents

Namespace Dynamicweb.Rendering

Classes

Loop

Represents a loop instance of a template instance.

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.

TemplateCompilationException
TemplateCompilerError
TemplateContext
TemplateCultureProvider
TemplateData
TemplateDebugger
TemplateException
TemplateExtender

Base implementation of Template Extenders. Usually this object is not inherited directly. Inherit one of the implemenations, i.e. Dynamicweb.Frontend.PageTemplateExtender or Dynamicweb.Ecommerce.Products.ProductTemplateExtender.

TemplateHelper
TemplateLayoutProvider
TemplateParsingException
TemplateRenderingProvider
TemplateTagProvider
TemplateXml
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.

Interfaces

IViewModelTemplatePath

Enums

Template.TemplateType

The type of template

To top