Search Results for

    Show / Hide Table of Contents
    View Source

    Class ApiContentBuilderBase<T>

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.DeliveryApi
    Assembly: Umbraco.Core.dll
    Syntax
    public abstract class ApiContentBuilderBase<T>
        where T : IApiContent
    Type Parameters
    Name Description
    T

    Constructors

    View Source

    ApiContentBuilderBase(IApiContentNameProvider, IApiContentRouteBuilder, IOutputExpansionStrategyAccessor)

    Declaration
    protected ApiContentBuilderBase(IApiContentNameProvider apiContentNameProvider, IApiContentRouteBuilder apiContentRouteBuilder, IOutputExpansionStrategyAccessor outputExpansionStrategyAccessor)
    Parameters
    Type Name Description
    IApiContentNameProvider apiContentNameProvider
    IApiContentRouteBuilder apiContentRouteBuilder
    IOutputExpansionStrategyAccessor outputExpansionStrategyAccessor

    Methods

    View Source

    Build(IPublishedContent)

    Declaration
    public virtual T Build(IPublishedContent content)
    Parameters
    Type Name Description
    IPublishedContent content
    Returns
    Type Description
    T
    View Source

    Create(IPublishedContent, String, IApiContentRoute, IDictionary<String, Object>)

    Declaration
    protected abstract T Create(IPublishedContent content, string name, IApiContentRoute route, IDictionary<string, object> properties)
    Parameters
    Type Name Description
    IPublishedContent content
    System.String name
    IApiContentRoute route
    IDictionary<System.String, System.Object> properties
    Returns
    Type Description
    T
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • ApiContentBuilderBase(IApiContentNameProvider, IApiContentRouteBuilder, IOutputExpansionStrategyAccessor)
    • Methods
      • Build(IPublishedContent)
      • Create(IPublishedContent, String, IApiContentRoute, IDictionary<String, Object>)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX