Search Results for

    Show / Hide Table of Contents
    View Source

    Class ContentUpdateResultBase<TContent>

    Represents the base result of a content update operation.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Models.ContentEditing
    Assembly: Umbraco.Core.dll
    Syntax
    public abstract class ContentUpdateResultBase<TContent> where TContent : class, IContentBase
    Type Parameters
    Name Description
    TContent

    The type of content being updated, which must implement IContentBase.

    Constructors

    View Source

    ContentUpdateResultBase()

    Declaration
    protected ContentUpdateResultBase()

    Properties

    View Source

    Content

    Gets the updated content, or null if the update failed.

    Declaration
    public TContent? Content { get; init; }
    Property Value
    Type Description
    TContent
    View Source

    InvalidPropertyAliases

    Gets the aliases of the properties that failed validation when publishing.

    Declaration
    public IEnumerable<string> InvalidPropertyAliases { get; init; }
    Property Value
    Type Description
    IEnumerable<string>
    Remarks

    Only populated when the operation included a publish that was blocked by invalid property values.

    View Source

    ValidationResult

    Gets the validation result containing any validation errors that occurred during the update.

    Declaration
    public ContentValidationResult ValidationResult { get; init; }
    Property Value
    Type Description
    ContentValidationResult
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX