• Core
  • Infrastructure
  • Web
  • Extensions
Search Results for

    Show / Hide Table of Contents
    View Source

    Class TypeCollectionBuilderBase<TBuilder, TCollection, TConstraint>

    Provides a base class for collections of types.

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Composing
    Assembly: Umbraco.Core.dll
    Syntax
    public abstract class TypeCollectionBuilderBase<TBuilder, TCollection, TConstraint> : ICollectionBuilder<TCollection, Type>, ICollectionBuilder where TBuilder : TypeCollectionBuilderBase<TBuilder, TCollection, TConstraint> where TCollection : class, IBuilderCollection<Type>
    Type Parameters
    Name Description
    TBuilder
    TCollection
    TConstraint

    Properties

    View Source

    This

    Declaration
    protected abstract TBuilder This { get; }
    Property Value
    Type Description
    TBuilder

    Methods

    View Source

    Add(IEnumerable<Type>)

    Declaration
    public TBuilder Add(IEnumerable<Type> types)
    Parameters
    Type Name Description
    IEnumerable<Type> types
    Returns
    Type Description
    TBuilder
    View Source

    Add(Type)

    Declaration
    public TBuilder Add(Type type)
    Parameters
    Type Name Description
    Type type
    Returns
    Type Description
    TBuilder
    View Source

    Add<T>()

    Declaration
    public TBuilder Add<T>()
    Returns
    Type Description
    TBuilder
    Type Parameters
    Name Description
    T
    View Source

    CreateCollection(IServiceProvider)

    Declaration
    public TCollection CreateCollection(IServiceProvider factory)
    Parameters
    Type Name Description
    IServiceProvider factory
    Returns
    Type Description
    TCollection
    View Source

    RegisterWith(IServiceCollection)

    Declaration
    public void RegisterWith(IServiceCollection services)
    Parameters
    Type Name Description
    IServiceCollection services
    View Source

    Remove(Type)

    Declaration
    public TBuilder Remove(Type type)
    Parameters
    Type Name Description
    Type type
    Returns
    Type Description
    TBuilder
    View Source

    Remove<T>()

    Declaration
    public TBuilder Remove<T>()
    Returns
    Type Description
    TBuilder
    Type Parameters
    Name Description
    T
    • Improve this Doc
    • View Source
    In This Article
    • Properties
      • This
    • Methods
      • Add(IEnumerable<Type>)
      • Add(Type)
      • Add<T>()
      • CreateCollection(IServiceProvider)
      • RegisterWith(IServiceCollection)
      • Remove(Type)
      • Remove<T>()
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX