Search Results for

    Show / Hide Table of Contents
    View Source

    Class DisableComposerAttribute

    Indicates that a composer should be disabled.

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Composing
    Assembly: Umbraco.Core.dll
    Syntax
    public class DisableComposerAttribute : Attribute
    Remarks

    Assembly-level DisableComposerAttribute has greater priority than DisableAttribute attribute when it is marking the composer itself, but lower priority that when it is referencing another composer.

    Constructors

    View Source

    DisableComposerAttribute(Type)

    Initializes a new instance of the DisableComposerAttribute class.

    Declaration
    public DisableComposerAttribute(Type disabledType)
    Parameters
    Type Name Description
    Type disabledType

    Properties

    View Source

    DisabledType

    Gets the disabled type, or null if it is the composer marked with the attribute.

    Declaration
    public Type DisabledType { get; }
    Property Value
    Type Description
    Type
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • DisableComposerAttribute(Type)
    • Properties
      • DisabledType
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX