View Source
Class UmbracoBuilder
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
public class UmbracoBuilder : IUmbracoBuilder
Constructors
View Source
UmbracoBuilder(IServiceCollection, IConfiguration, TypeLoader)
Initializes a new instance of the UmbracoBuilder class primarily for testing.
Declaration
public UmbracoBuilder(IServiceCollection services, IConfiguration config, TypeLoader typeLoader)
Parameters
| Type |
Name |
Description |
| IServiceCollection |
services |
|
| IConfiguration |
config |
|
| TypeLoader |
typeLoader |
|
View Source
UmbracoBuilder(IServiceCollection, IConfiguration, TypeLoader, ILoggerFactory, IProfiler, AppCaches)
Declaration
public UmbracoBuilder(IServiceCollection services, IConfiguration config, TypeLoader typeLoader, ILoggerFactory loggerFactory, IProfiler profiler, AppCaches appCaches)
Parameters
| Type |
Name |
Description |
| IServiceCollection |
services |
|
| IConfiguration |
config |
|
| TypeLoader |
typeLoader |
|
| ILoggerFactory |
loggerFactory |
|
| IProfiler |
profiler |
|
| AppCaches |
appCaches |
|
Properties
View Source
AppCaches
Declaration
public AppCaches AppCaches { get; }
Property Value
View Source
BuilderLoggerFactory
A Logger factory created specifically for the IUmbracoBuilder. This is NOT the same
instance that will be resolved from DI. Use only if required during configuration.
Declaration
public ILoggerFactory BuilderLoggerFactory { get; }
Property Value
| Type |
Description |
| ILoggerFactory |
|
View Source
Config
Declaration
public IConfiguration Config { get; }
Property Value
| Type |
Description |
| IConfiguration |
|
View Source
Profiler
Declaration
public IProfiler Profiler { get; }
Property Value
View Source
Services
Declaration
public IServiceCollection Services { get; }
Property Value
| Type |
Description |
| IServiceCollection |
|
View Source
TypeLoader
Declaration
public TypeLoader TypeLoader { get; }
Property Value
Methods
View Source
Build()
Declaration
View Source
WithCollectionBuilder<TBuilder>()
Gets a collection builder (and registers the collection).
Declaration
public TBuilder WithCollectionBuilder<TBuilder>()
where TBuilder : ICollectionBuilder
Returns
| Type |
Description |
| TBuilder |
The collection builder.
|
Type Parameters
| Name |
Description |
| TBuilder |
The type of the collection builder.
|