View Source
Class ContentBaseSave<TPersisted>
A model representing a content item to be saved
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
[DataContract(Name = "content", Namespace = "")]
public abstract class ContentBaseSave<TPersisted> : ContentItemBasic<ContentPropertyBasic>, IContentProperties<ContentPropertyBasic>, IContentSave<TPersisted>, IHaveUploadedFiles where TPersisted : IContentBase
Type Parameters
Name |
Description |
TPersisted |
|
Constructors
View Source
ContentBaseSave()
Declaration
protected ContentBaseSave()
Properties
View Source
Action
The action to perform when saving this content item
Declaration
[DataMember(Name = "action", IsRequired = true)]
[Required]
public ContentSaveAction Action { get; set; }
Property Value
View Source
PersistedContent
Declaration
[IgnoreDataMember]
public TPersisted PersistedContent { get; set; }
Property Value
Type |
Description |
TPersisted |
|
View Source
Properties
Declaration
[DataMember(Name = "properties")]
public override IEnumerable<ContentPropertyBasic> Properties { get; set; }
Property Value
View Source
PropertyCollectionDto
The property DTO object is used to gather all required property data including data type information etc... for use
with validation - used during inbound model binding
Declaration
[IgnoreDataMember]
public ContentPropertyCollectionDto PropertyCollectionDto { get; set; }
Property Value
View Source
UploadedFiles
Declaration
[IgnoreDataMember]
public List<ContentPropertyFile> UploadedFiles { get; }
Property Value
Explicit Interface Implementations
View Source
IContentSave<TPersisted>.PersistedContent
The real persisted content object - used during inbound model binding
Declaration
[IgnoreDataMember]
TPersisted IContentSave<TPersisted>.PersistedContent { get; set; }
Returns
Type |
Description |
TPersisted |
|