November Happy Hour will be moved to Thursday December 5th.

Class DefaultTemplateResolver

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.

Inheritance
System.Object
DefaultTemplateResolver
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Web.Internal
Assembly: EPiServer.dll
Version: 10.10.4
Syntax
[ServiceConfiguration]
public class DefaultTemplateResolver : ITemplateResolver, ITemplateResolverEvents

Constructors

DefaultTemplateResolver(ITemplateRepository)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Creates a new instance of DefaultTemplateResolver

Declaration
public DefaultTemplateResolver(ITemplateRepository templateRepository)
Parameters
Type Name Description
ITemplateRepository templateRepository

Methods

Resolve(Object, Type, TemplateTypeCategories, IEnumerable<String>)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.

Declaration
public TemplateModel Resolve(object item, Type itemType, TemplateTypeCategories category, IEnumerable<string> templateTags)
Parameters
Type Name Description
System.Object item
System.Type itemType
TemplateTypeCategories category
System.Collections.Generic.IEnumerable<System.String> templateTags
Returns
Type Description
TemplateModel

Events

TemplateResolved

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.

Declaration
public event EventHandler<TemplateResolverEventArgs> TemplateResolved
Event Type
Type Description
System.EventHandler<TemplateResolverEventArgs>

TemplateResolving

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.

Declaration
public event EventHandler<TemplateResolverEventArgs> TemplateResolving
Event Type
Type Description
System.EventHandler<TemplateResolverEventArgs>

Implements

Extension Methods