SaaS CMS has officially launched! Learn more now.

Class MissingTemplateTagSelectionStrategy

Defines different strategies that could be applied when ITemplateResolver is requested with a tag but there is no template that matches tag.

Inheritance
System.Object
MissingTemplateTagSelectionStrategy
Namespace: EPiServer.Web.Templating
Assembly: EPiServer.Cms.AspNetCore.Templating.dll
Version: 12.0.3
Syntax
public sealed class MissingTemplateTagSelectionStrategy : Enum

Fields

InheritedTag

Should use a tag from parent context (ContentArea) if any. This strategy means that if a content area item is specifed with a display option that it does not exist a template for then it should try to find a template for the content area item that matches the tag defined for the content area (if any).

Declaration
public const MissingTemplateTagSelectionStrategy InheritedTag
Field Value
Type Description
MissingTemplateTagSelectionStrategy

NoTag

Should select a template that is available without tag (if any). This strategy means that if a content area item is specifed with a display option that it does not exist a template for then it should try to find a template for the content area item that is available without tag.

Declaration
public const MissingTemplateTagSelectionStrategy NoTag
Field Value
Type Description
MissingTemplateTagSelectionStrategy

value__

Declaration
public int value__
Field Value
Type Description
System.Int32

Extension Methods