Search Results for

    Show / Hide Table of Contents
    View Source

    Class ComponentComposer<TComponent>

    Provides a composer that appends a component.

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Composing
    Assembly: Umbraco.Core.dll
    Syntax
    public abstract class ComponentComposer<TComponent> : IComposer, IDiscoverable where TComponent : IAsyncComponent
    Type Parameters
    Name Description
    TComponent

    The type of the component.

    Remarks

    Thanks to this class, a component that does not compose anything can be registered with one line:

    public class MyComponentComposer : ComponentComposer<MyComponent> { }

    Methods

    View Source

    Compose(IUmbracoBuilder)

    Compose.

    Declaration
    public virtual void Compose(IUmbracoBuilder builder)
    Parameters
    Type Name Description
    IUmbracoBuilder builder
    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • Compose(IUmbracoBuilder)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX