• Core
  • Infrastructure
  • Web
  • Extensions
Search Results for

    Show / Hide Table of Contents
    View Source

    Class ContentTypeBaseExtensions

    Provides extensions methods for IContentTypeBase.

    Inheritance
    System.Object
    Namespace: Umbraco.Extensions
    Assembly: Umbraco.Core.dll
    Syntax
    public static class ContentTypeBaseExtensions

    Methods

    View Source

    GetItemType(IContentTypeBase)

    Declaration
    public static PublishedItemType GetItemType(this IContentTypeBase contentType)
    Parameters
    Type Name Description
    IContentTypeBase contentType
    Returns
    Type Description
    PublishedItemType
    View Source

    WasPropertyTypeVariationChanged(IContentTypeBase)

    Used to check if any property type was changed between variant/invariant

    Declaration
    public static bool WasPropertyTypeVariationChanged(this IContentTypeBase contentType)
    Parameters
    Type Name Description
    IContentTypeBase contentType
    Returns
    Type Description
    System.Boolean
    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • GetItemType(IContentTypeBase)
      • WasPropertyTypeVariationChanged(IContentTypeBase)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX