Represents a folder for organizing entities such as content types and data types.
InheritanceSystem.Object
Namespace: Umbraco.Cms.Core.Models Assembly: Umbraco.Core.dll Syntaxpublic sealed class EntityContainer : TreeEntityBase, IRememberBeingDirty, ICanBeDirty, IUmbracoEntity, ITreeEntity, IEntity, IDeepCloneable
Constructors View Source EntityContainer(Guid)
Initializes a new instance of an EntityContainer class.
Declarationpublic EntityContainer(Guid containedObjectType)
Parameters Type Name Description Guid containedObjectType View Source EntityContainer(Int32, Guid, Int32, String, Int32, Int32, Guid, String, Int32)
Initializes a new instance of an EntityContainer class.
Declarationpublic EntityContainer(int id, Guid uniqueId, int parentId, string path, int level, int sortOrder, Guid containedObjectType, string name, int userId)
Parameters Type Name Description System.Int32 id Guid uniqueId System.Int32 parentId System.String path System.Int32 level System.Int32 sortOrder Guid containedObjectType System.String name System.Int32 userId Properties View Source ContainedObjectType
Gets or sets the node object type of the contained objects.
Declarationpublic Guid ContainedObjectType { get; }
Property Value View Source ContainerObjectType
Gets the node object type of the container objects.
Declarationpublic Guid ContainerObjectType { get; }
Property Value Methods View Source GetContainedObjectType(Guid)
Gets the contained object type corresponding to a container object type.
Declarationpublic static Guid GetContainedObjectType(Guid containerObjectType)
Parameters Type Name Description Guid containerObjectType
The container object type.
Returns Type Description GuidThe object type of objects that containers of the container object type can contain.
View Source GetContainerObjectType(Guid)Gets the container object type corresponding to a contained object type.
Declarationpublic static Guid GetContainerObjectType(Guid containedObjectType)
Parameters Type Name Description Guid containedObjectType
The contained object type.
Returns Type Description GuidThe object type of containers containing objects of the contained object type.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4