Method | Description | |
---|---|---|
ChildContentFactory ( DocumentTypeBase values, |
Creates AutoContent which specifies a parent document
|
|
GetIfExists ( ) : Umbraco.Core.Models.IContent |
Gets the IContent instance if it exists, otherwise returns null
|
|
GetOrCreate ( ) : Umbraco.Core.Models.IContent |
Gets the IContent instance if it already exists, otherwise creates it
|
|
GetPublishedIfExists ( ) : IPublishedContent |
Gets the IPublishedContent instance if it exists, otherwise returns null
|
public ChildContentFactory ( DocumentTypeBase values, |
||
values | DocumentTypeBase | The document property values to use |
parentDocType | The type of the parent document | |
return | System |
public GetIfExists ( ) : Umbraco.Core.Models.IContent | ||
return | Umbraco.Core.Models.IContent |
public GetOrCreate ( ) : Umbraco.Core.Models.IContent | ||
return | Umbraco.Core.Models.IContent |
public GetPublishedIfExists ( ) : IPublishedContent | ||
return | IPublishedContent |