Class GetChildrenReferenceResult
A return model class used in custom implementations of Content Providers
Inheritance
Inherited Members
Namespace: EPiServer.Core
Assembly: EPiServer.dll
Version: 9.12.2Syntax
public class GetChildrenReferenceResult
Constructors
GetChildrenReferenceResult()
Declaration
public GetChildrenReferenceResult()
Properties
ContentLink
The reference to the content
Declaration
public ContentReference ContentLink { get; set; }
Property Value
Type | Description |
---|---|
ContentReference |
IsLeafNode
If the content should be considered a leaf node (only used for performance reasons to avoid extra calls to GetChildrenReference)
Declaration
public bool? IsLeafNode { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
Remarks
Setting this value to true
will cause the cache to pre-populate a marker to avoid calling GetChildrenReferences for that item
WARNING! This value is only valid when loaded directly from the data source directly (GetChildrenReferences), it may be not be correct if accessed after it has been added to the cache.
ModelType
Gets or sets the content type (used for filtering per type before loading content)
Declaration
public Type ModelType { get; set; }
Property Value
Type | Description |
---|---|
System.Type |
Remarks
This is not guarantee to be the real content type as it was registered, for types that are not possible to load it might be a basetype as PageData, BlockData or IContent