Virtual Happy Hour canceled for Friday May 31st.

Try our conversational search powered by Generative AI!

Class AvailableContentTypesExtensions

Inheritance
System.Object
AvailableContentTypesExtensions
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: 7.19.2
Syntax
public static class AvailableContentTypesExtensions

Methods

IsAllowed(IAvailableContentTypes, ContentType, ContentType)

Determines whether a ContentData of type child is allowed to be created under a content of type specified by parent

Declaration
public static bool IsAllowed(this IAvailableContentTypes service, ContentType parent, ContentType child)
Parameters
Type Name Description
IAvailableContentTypes service

The interface that this method extends.

ContentType parent

The parent.

ContentType child

The child.

Returns
Type Description
System.Boolean

true if the specified content type is allowed; otherwise, false.