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

Class TemplateTypeCategoriesExtensions

Extends TemplateTypeCategories with common checks.

Inheritance
System.Object
TemplateTypeCategoriesExtensions
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.DataAbstraction
Assembly: EPiServer.dll
Version: 9.12.2
Syntax
public static class TemplateTypeCategoriesExtensions

Methods

IsCategory(TemplateTypeCategories, TemplateTypeCategories)

Determines whether the type is one of the provided type categories.

Declaration
public static bool IsCategory(this TemplateTypeCategories subject, TemplateTypeCategories typeCategories)
Parameters
Type Name Description
TemplateTypeCategories subject

The subject.

TemplateTypeCategories typeCategories

Type of templates to check for.

Returns
Type Description
System.Boolean

true if the specified type is contained in the provided types; otherwise, false.