• Core
  • Infrastructure
  • Web
  • Extensions
Search Results for

    Show / Hide Table of Contents
    View Source

    Class WebsiteUmbracoBuilderExtensions

    Provides extension methods to the class.

    Inheritance
    System.Object
    Namespace: Umbraco.Extensions
    Assembly: Umbraco.Web.Website.dll
    Syntax
    public static class WebsiteUmbracoBuilderExtensions

    Methods

    View Source

    SetContentLastChanceFinder(IUmbracoBuilder, Func<IServiceProvider, IContentLastChanceFinder>)

    Sets the content last chance finder.

    Declaration
    public static IUmbracoBuilder SetContentLastChanceFinder(this IUmbracoBuilder builder, Func<IServiceProvider, IContentLastChanceFinder> factory)
    Parameters
    Type Name Description
    IUmbracoBuilder builder

    The builder.

    Func<IServiceProvider, IContentLastChanceFinder> factory

    A function creating a last chance finder.

    Returns
    Type Description
    IUmbracoBuilder
    View Source

    SetContentLastChanceFinder(IUmbracoBuilder, IContentLastChanceFinder)

    Sets the content last chance finder.

    Declaration
    public static IUmbracoBuilder SetContentLastChanceFinder(this IUmbracoBuilder builder, IContentLastChanceFinder finder)
    Parameters
    Type Name Description
    IUmbracoBuilder builder

    The builder.

    IContentLastChanceFinder finder

    A last chance finder.

    Returns
    Type Description
    IUmbracoBuilder
    View Source

    SetContentLastChanceFinder<T>(IUmbracoBuilder)

    Sets the content last chance finder.

    Declaration
    public static IUmbracoBuilder SetContentLastChanceFinder<T>(this IUmbracoBuilder builder)
        where T : class, IContentLastChanceFinder
    Parameters
    Type Name Description
    IUmbracoBuilder builder

    The builder.

    Returns
    Type Description
    IUmbracoBuilder
    Type Parameters
    Name Description
    T

    The type of the content last chance finder.

    View Source

    SetSiteDomainHelper(IUmbracoBuilder, Func<IServiceProvider, ISiteDomainMapper>)

    Sets the site domain helper.

    Declaration
    public static IUmbracoBuilder SetSiteDomainHelper(this IUmbracoBuilder builder, Func<IServiceProvider, ISiteDomainMapper> factory)
    Parameters
    Type Name Description
    IUmbracoBuilder builder

    The builder.

    Func<IServiceProvider, ISiteDomainMapper> factory

    A function creating a helper.

    Returns
    Type Description
    IUmbracoBuilder
    View Source

    SetSiteDomainHelper(IUmbracoBuilder, ISiteDomainMapper)

    Sets the site domain helper.

    Declaration
    public static IUmbracoBuilder SetSiteDomainHelper(this IUmbracoBuilder builder, ISiteDomainMapper helper)
    Parameters
    Type Name Description
    IUmbracoBuilder builder

    The builder.

    ISiteDomainMapper helper

    A helper.

    Returns
    Type Description
    IUmbracoBuilder
    View Source

    SetSiteDomainHelper<T>(IUmbracoBuilder)

    Sets the site domain helper.

    Declaration
    public static IUmbracoBuilder SetSiteDomainHelper<T>(this IUmbracoBuilder builder)
        where T : class, ISiteDomainMapper
    Parameters
    Type Name Description
    IUmbracoBuilder builder
    Returns
    Type Description
    IUmbracoBuilder
    Type Parameters
    Name Description
    T

    The type of the site domain helper.

    View Source

    SetTreeSearcherFields(IUmbracoBuilder, Func<IServiceProvider, IUmbracoTreeSearcherFields>)

    Sets the UmbracoTreeSearcherFields to change fields that can be searched in the backoffice.

    Declaration
    public static IUmbracoBuilder SetTreeSearcherFields(this IUmbracoBuilder builder, Func<IServiceProvider, IUmbracoTreeSearcherFields> factory)
    Parameters
    Type Name Description
    IUmbracoBuilder builder

    The builder.

    Func<IServiceProvider, IUmbracoTreeSearcherFields> factory

    A function creating a TreeSearcherFields

    Returns
    Type Description
    IUmbracoBuilder
    View Source

    SetTreeSearcherFields(IUmbracoBuilder, IUmbracoTreeSearcherFields)

    Sets the UmbracoTreeSearcherFields to change fields that can be searched in the backoffice.

    Declaration
    public static IUmbracoBuilder SetTreeSearcherFields(this IUmbracoBuilder builder, IUmbracoTreeSearcherFields treeSearcherFields)
    Parameters
    Type Name Description
    IUmbracoBuilder builder

    The builder.

    IUmbracoTreeSearcherFields treeSearcherFields

    An UmbracoTreeSearcherFields.

    Returns
    Type Description
    IUmbracoBuilder
    View Source

    SetTreeSearcherFields<T>(IUmbracoBuilder)

    Sets the UmbracoTreeSearcherFields to change fields that can be searched in the backoffice.

    Declaration
    public static IUmbracoBuilder SetTreeSearcherFields<T>(this IUmbracoBuilder builder)
        where T : class, IUmbracoTreeSearcherFields
    Parameters
    Type Name Description
    IUmbracoBuilder builder

    The builder.

    Returns
    Type Description
    IUmbracoBuilder
    Type Parameters
    Name Description
    T

    The type of the Umbraco tree searcher fields.

    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • SetContentLastChanceFinder(IUmbracoBuilder, Func<IServiceProvider, IContentLastChanceFinder>)
      • SetContentLastChanceFinder(IUmbracoBuilder, IContentLastChanceFinder)
      • SetContentLastChanceFinder<T>(IUmbracoBuilder)
      • SetSiteDomainHelper(IUmbracoBuilder, Func<IServiceProvider, ISiteDomainMapper>)
      • SetSiteDomainHelper(IUmbracoBuilder, ISiteDomainMapper)
      • SetSiteDomainHelper<T>(IUmbracoBuilder)
      • SetTreeSearcherFields(IUmbracoBuilder, Func<IServiceProvider, IUmbracoTreeSearcherFields>)
      • SetTreeSearcherFields(IUmbracoBuilder, IUmbracoTreeSearcherFields)
      • SetTreeSearcherFields<T>(IUmbracoBuilder)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX