Search Results for

    Show / Hide Table of Contents
    View Source

    Class ContentTypeChangeExtensions

    Extension methods for content type changes.

    Inheritance
    object
    Namespace: Umbraco.Extensions
    Assembly: Umbraco.Core.dll
    Syntax
    public static class ContentTypeChangeExtensions

    Methods

    View Source

    HasType(ContentTypeChangeTypes, ContentTypeChangeTypes)

    Determines whether the change includes the specified type.

    Declaration
    public static bool HasType(this ContentTypeChangeTypes change, ContentTypeChangeTypes type)
    Parameters
    Type Name Description
    ContentTypeChangeTypes change

    The change to check.

    ContentTypeChangeTypes type

    The type to look for.

    Returns
    Type Description
    bool

    true if the change includes the type; otherwise, false.

    View Source

    HasTypesAll(ContentTypeChangeTypes, ContentTypeChangeTypes)

    Determines whether the change includes all of the specified types.

    Declaration
    public static bool HasTypesAll(this ContentTypeChangeTypes change, ContentTypeChangeTypes types)
    Parameters
    Type Name Description
    ContentTypeChangeTypes change

    The change to check.

    ContentTypeChangeTypes types

    The types to look for.

    Returns
    Type Description
    bool

    true if the change includes all types; otherwise, false.

    View Source

    HasTypesAny(ContentTypeChangeTypes, ContentTypeChangeTypes)

    Determines whether the change includes any of the specified types.

    Declaration
    public static bool HasTypesAny(this ContentTypeChangeTypes change, ContentTypeChangeTypes types)
    Parameters
    Type Name Description
    ContentTypeChangeTypes change

    The change to check.

    ContentTypeChangeTypes types

    The types to look for.

    Returns
    Type Description
    bool

    true if the change includes any of the types; otherwise, false.

    View Source

    HasTypesNone(ContentTypeChangeTypes, ContentTypeChangeTypes)

    Determines whether the change includes none of the specified types.

    Declaration
    public static bool HasTypesNone(this ContentTypeChangeTypes change, ContentTypeChangeTypes types)
    Parameters
    Type Name Description
    ContentTypeChangeTypes change

    The change to check.

    ContentTypeChangeTypes types

    The types to look for.

    Returns
    Type Description
    bool

    true if the change includes none of the types; otherwise, false.

    View Source

    IsNonStructuralChange(ContentTypeChangeTypes)

    Determines whether the change has non-structural change impact.

    Declaration
    public static bool IsNonStructuralChange(this ContentTypeChangeTypes change)
    Parameters
    Type Name Description
    ContentTypeChangeTypes change

    The change to check.

    Returns
    Type Description
    bool

    true if the change has non-structural impact; otherwise, false.

    View Source

    IsStructuralChange(ContentTypeChangeTypes)

    Determines whether the change has structural change impact.

    Declaration
    public static bool IsStructuralChange(this ContentTypeChangeTypes change)
    Parameters
    Type Name Description
    ContentTypeChangeTypes change

    The change to check.

    Returns
    Type Description
    bool

    true if the change has structural impact; otherwise, false.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX