View Source
Class ContentTypeSave
Abstract model used to save content types
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
public abstract class ContentTypeSave : ContentTypeBasic
Constructors
View Source
ContentTypeSave()
Declaration
protected ContentTypeSave()
Properties
View Source
AllowAsRoot
Declaration
public bool AllowAsRoot { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
View Source
AllowedContentTypes
Declaration
public IEnumerable<int> AllowedContentTypes { get; set; }
Property Value
Type |
Description |
IEnumerable<System.Int32> |
|
View Source
CompositeContentTypes
Declaration
public IEnumerable<string> CompositeContentTypes { get; set; }
Property Value
Type |
Description |
IEnumerable<System.String> |
|
View Source
HistoryCleanup
Declaration
public HistoryCleanupViewModel HistoryCleanup { get; set; }
Property Value
Methods
View Source
Validate(ValidationContext)
Declaration
public virtual IEnumerable<ValidationResult> Validate(ValidationContext validationContext)
Parameters
Type |
Name |
Description |
ValidationContext |
validationContext |
|
Returns
Type |
Description |
IEnumerable<ValidationResult> |
|