Search Results for

    Show / Hide Table of Contents
    View Source

    Class ContentTypeSave

    Abstract model used to save content types

    Inheritance
    System.Object
    EntityBasic
    ContentTypeBasic
    Namespace: Umbraco.Cms.Core.Models.ContentEditing
    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
    Type Description
    HistoryCleanupViewModel

    Methods

    View Source

    Validate(ValidationContext)

    Custom validation

    Declaration
    public virtual IEnumerable<ValidationResult> Validate(ValidationContext validationContext)
    Parameters
    Type Name Description
    ValidationContext validationContext
    Returns
    Type Description
    IEnumerable<ValidationResult>
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • ContentTypeSave()
    • Properties
      • AllowAsRoot
      • AllowedContentTypes
      • CompositeContentTypes
      • HistoryCleanup
    • Methods
      • Validate(ValidationContext)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX