Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IHaveAdditionalData

    Provides support for additional data.

    Namespace: Umbraco.Cms.Core.Models.Entities
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IHaveAdditionalData
    Remarks

    Additional data are transient, not deep-cloned.

    Properties

    View Source

    AdditionalData

    Gets additional data for this entity.

    Declaration
    IDictionary<string, object>? AdditionalData { get; }
    Property Value
    Type Description
    System.Nullable<IDictionary<System.String, System.Object>>
    Remarks

    Can be empty, but never null. To avoid allocating, do not test for emptiness, but use HasAdditionalData instead.

    View Source

    HasAdditionalData

    Determines whether this entity has additional data.

    Declaration
    bool HasAdditionalData { get; }
    Property Value
    Type Description
    System.Boolean
    Remarks

    Use this property to check for additional data without getting AdditionalData, to avoid allocating.

    • Improve this Doc
    • View Source
    In This Article
    • Properties
      • AdditionalData
      • HasAdditionalData
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX