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: 10.10.4Syntax
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 |
|