Search Results for

    Show / Hide Table of Contents

    Enum ContentTypeChangeTypes

    Represents the types of changes that can occur on a content type.

    Namespace: Umbraco.Cms.Core.Services.Changes
    Assembly: Umbraco.Core.dll
    Syntax
    [Flags]
    public enum ContentTypeChangeTypes : ushort
    Remarks

    The base flags (RefreshMain and RefreshOther) represent coarse-grained structural vs non-structural change categories. The granular flags (e.g. AliasChanged, PropertyRemoved) include their parent flag via bitwise OR, so existing consumers that only check for RefreshMain or RefreshOther continue to work unchanged.

    Fields

    Name Description
    AliasChanged

    The content type alias was changed.

    CompositionAdded

    One or more compositions were added to the content type.

    CompositionRemoved

    One or more compositions were removed from the content type.

    Create

    Item type has been created, no impact.

    None

    No change has occurred.

    PropertyAdded

    One or more property types were added to the content type.

    PropertyAliasChanged

    One or more property type aliases were changed. This effectively corresponds to removing and re-adding a property type.

    PropertyRemoved

    One or more property types were removed from the content type.

    PropertyVariationChanged

    The variation setting of one or more property types changed (e.g., from invariant to variant or vice versa).

    RawDataUnaffected

    Supplements RefreshMain to indicate that, although the change is structural, the raw content data stored in the database cache (cmsContentNu) does not need rebuilding.

    RefreshMain

    Content type changes directly impact existing content of this content type.

    RefreshOther

    Content type changes that do not directly impact existing content of this content type.

    Remove

    Content type was removed.

    VariationChanged

    Content type variation setting has changed (e.g., from invariant to variant or vice versa). This impacts how URL segments and aliases are stored (NULL languageId for invariant, specific ID for variant).

    Extension Methods

    ObjectExtensions.ToXmlString(object, Type)
    ObjectExtensions.ToXmlString<T>(object)
    ObjectExtensions.TryConvertTo(object, Type)
    ObjectExtensions.TryConvertTo<T>(object)
    ExpressionHelper.GetPropertyInfo<ContentTypeChangeTypes, TProperty>(ContentTypeChangeTypes, Expression<Func<ContentTypeChangeTypes, TProperty>>)
    ContentTypeChangeExtensions.HasType(ContentTypeChangeTypes, ContentTypeChangeTypes)
    ContentTypeChangeExtensions.HasTypesAll(ContentTypeChangeTypes, ContentTypeChangeTypes)
    ContentTypeChangeExtensions.HasTypesAny(ContentTypeChangeTypes, ContentTypeChangeTypes)
    ContentTypeChangeExtensions.HasTypesNone(ContentTypeChangeTypes, ContentTypeChangeTypes)
    ContentTypeChangeExtensions.IsNonStructuralChange(ContentTypeChangeTypes)
    ContentTypeChangeExtensions.IsStructuralChange(ContentTypeChangeTypes)
    ContentTypeChangeExtensions.RequiresConvertedCacheClearOnly(ContentTypeChangeTypes)
    ContentTypeChangeExtensions.RequiresRawDataRebuild(ContentTypeChangeTypes)
    DictionaryExtensions.MergeLeft<ContentTypeChangeTypes, TK, TV>(ContentTypeChangeTypes, IDictionary<TK, TV>, bool)
    DictionaryExtensions.MergeLeft<ContentTypeChangeTypes, TK, TV>(ContentTypeChangeTypes, IEnumerable<IDictionary<TK, TV>>, bool)
    EnumerableExtensions.Yield<ContentTypeChangeTypes>(ContentTypeChangeTypes)
    ObjectExtensions.AsEnumerableOfOne<ContentTypeChangeTypes>(ContentTypeChangeTypes)
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX