Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Class ResolvingTemplatePathEventArgs

Occurs when a Template Path Resolver try to resolve path to template.

Inheritance
System.Object
System.EventArgs
ResolvingTemplatePathEventArgs
Inherited Members
System.EventArgs.Empty
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
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7
Syntax
public class ResolvingTemplatePathEventArgs : EventArgs

Constructors

ResolvingTemplatePathEventArgs(Type, TemplateTypeCategories)

Initializes a new instance of the ResolvingTemplatePathEventArgs class.

Declaration
public ResolvingTemplatePathEventArgs(Type renderType, TemplateTypeCategories category)
Parameters
Type Name Description
System.Type renderType

Type of the render.

TemplateTypeCategories category

The type of the template.

Properties

Category

Gets or sets the type category of the template.

Declaration
public TemplateTypeCategories Category { get; }
Property Value
Type Description
TemplateTypeCategories

Path

Gets or sets the path to template.

Declaration
public string Path { get; set; }
Property Value
Type Description
System.String

Type

The template type.

Declaration
public Type Type { get; }
Property Value
Type Description
System.Type

Extension Methods