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.2Syntax
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 |
|