Search Results for

    Show / Hide Table of Contents

    Enum ComposedOfType

    Specifies which "composed of" relationships to include when resolving the content types that build upon a given content type.

    Namespace: Umbraco.Cms.Core.Services
    Assembly: Umbraco.Core.dll
    Syntax
    public enum ComposedOfType
    Remarks

    Inheritance and composition are stored in the same underlying collection and are distinguished only by whether the referencing content type's tree parent is the content type in question. This lets callers ask for a single axis or both.

    Fields

    Name Description
    All

    Both composition users and inheritance children.

    Composition

    Content types that use the content type as a true composition (i.e. not tree inheritance).

    Inheritance

    Content types that inherit from the content type in the tree.

    Extension Methods

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