View Source
Class UmbracoBuilderExtensions
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
public static class UmbracoBuilderExtensions
Methods
View Source
Actions(IUmbracoBuilder)
Gets the actions collection builder.
Declaration
public static ActionCollectionBuilder Actions(this IUmbracoBuilder builder)
Parameters
Returns
View Source
AddComponent<T>(IUmbracoBuilder)
Declaration
public static IUmbracoBuilder AddComponent<T>(this IUmbracoBuilder builder)
where T : IComponent
Parameters
Returns
Type Parameters
Name |
Description |
T |
The type of the component.
|
View Source
AddComposers(IUmbracoBuilder)
Adds Umbraco composers for plugins
Declaration
public static IUmbracoBuilder AddComposers(this IUmbracoBuilder builder)
Parameters
Returns
View Source
AddConfiguration(IUmbracoBuilder)
Add Umbraco configuration services and options
Declaration
public static IUmbracoBuilder AddConfiguration(this IUmbracoBuilder builder)
Parameters
Returns
View Source
AddContentApp<T>(IUmbracoBuilder)
Declaration
public static IUmbracoBuilder AddContentApp<T>(this IUmbracoBuilder builder)
where T : IContentAppFactory
Parameters
Returns
Type Parameters
Name |
Description |
T |
The type of the content app.
|
View Source
AddContentFinder<T>(IUmbracoBuilder)
Register a content finder.
Declaration
public static IUmbracoBuilder AddContentFinder<T>(this IUmbracoBuilder builder)
where T : IContentFinder
Parameters
Returns
Type Parameters
Name |
Description |
T |
The type of the content finder.
|
View Source
AddDashboard<T>(IUmbracoBuilder)
Declaration
public static IUmbracoBuilder AddDashboard<T>(this IUmbracoBuilder builder)
where T : IDashboard
Parameters
Returns
Type Parameters
Name |
Description |
T |
The type of the dashboard.
|
View Source
AddDynamicRootStep<T>(IUmbracoBuilder)
Add an IDynamicRootQueryStep to the DynamicRootQueryStepCollectionBuilder.
Declaration
public static IUmbracoBuilder AddDynamicRootStep<T>(this IUmbracoBuilder builder)
where T : IDynamicRootQueryStep
Parameters
Returns
Type Parameters
View Source
AddEmbedProvider<T>(IUmbracoBuilder)
Register a embed provider.
Declaration
public static IUmbracoBuilder AddEmbedProvider<T>(this IUmbracoBuilder builder)
where T : IEmbedProvider
Parameters
Returns
Type Parameters
Name |
Description |
T |
The type of the embed provider.
|
View Source
AddManifestFilter<T>(IUmbracoBuilder)
Register a manifest filter.
Declaration
public static IUmbracoBuilder AddManifestFilter<T>(this IUmbracoBuilder builder)
where T : IManifestFilter
Parameters
Returns
Type Parameters
Name |
Description |
T |
The type of the manifest filter.
|
View Source
AddMapDefinition<T>(IUmbracoBuilder)
Declaration
public static IUmbracoBuilder AddMapDefinition<T>(this IUmbracoBuilder builder)
where T : IMapDefinition
Parameters
Returns
Type Parameters
Name |
Description |
T |
The type of map definition.
|
View Source
Register a media URL provider.
Declaration
public static IUmbracoBuilder AddMediaUrlProvider<T>(this IUmbracoBuilder builder)
where T : IMediaUrlProvider
Parameters
Returns
Type Parameters
Name |
Description |
T |
The type of the media URL provider.
|
View Source
AddNotificationAsyncHandler<TNotification, TNotificationAsyncHandler>(IUmbracoBuilder)
Registers a notification async handler against the Umbraco service collection.
Declaration
public static IUmbracoBuilder AddNotificationAsyncHandler<TNotification, TNotificationAsyncHandler>(this IUmbracoBuilder builder)
where TNotification : INotification where TNotificationAsyncHandler : INotificationAsyncHandler<TNotification>
Parameters
Returns
Type Parameters
Name |
Description |
TNotification |
The type of notification.
|
TNotificationAsyncHandler |
The type of notification async handler.
|
View Source
AddNotificationHandler<TNotification, TNotificationHandler>(IUmbracoBuilder)
Registers a notification handler against the Umbraco service collection.
Declaration
public static IUmbracoBuilder AddNotificationHandler<TNotification, TNotificationHandler>(this IUmbracoBuilder builder)
where TNotification : INotification where TNotificationHandler : INotificationHandler<TNotification>
Parameters
Returns
Type Parameters
Name |
Description |
TNotification |
The type of notification.
|
TNotificationHandler |
The type of notificiation handler.
|
View Source
AddSection<T>(IUmbracoBuilder)
Declaration
public static IUmbracoBuilder AddSection<T>(this IUmbracoBuilder builder)
where T : ISection
Parameters
Returns
Type Parameters
Name |
Description |
T |
The type of the section.
|
View Source
AddUrlProvider<T>(IUmbracoBuilder)
Declaration
public static IUmbracoBuilder AddUrlProvider<T>(this IUmbracoBuilder builder)
where T : IUrlProvider
Parameters
Returns
Type Parameters
Name |
Description |
T |
The type of the URL provider.
|
View Source
AddWebhookEvent<T>(IUmbracoBuilder)
Declaration
public static IUmbracoBuilder AddWebhookEvent<T>(this IUmbracoBuilder builder)
where T : IWebhookEvent
Parameters
Returns
Type Parameters
Name |
Description |
T |
The type of webhook event.
|
View Source
BackOfficeAssets(IUmbracoBuilder)
Gets the back office custom assets collection builder
Declaration
public static CustomBackOfficeAssetsCollectionBuilder BackOfficeAssets(this IUmbracoBuilder builder)
Parameters
Returns
View Source
CacheRefreshers(IUmbracoBuilder)
Gets the cache refreshers collection builder.
Declaration
public static CacheRefresherCollectionBuilder CacheRefreshers(this IUmbracoBuilder builder)
Parameters
Returns
View Source
Components(IUmbracoBuilder)
Gets the components collection builder.
Declaration
public static ComponentCollectionBuilder Components(this IUmbracoBuilder builder)
Parameters
Returns
View Source
ContentApps(IUmbracoBuilder)
Gets the content apps collection builder.
Declaration
public static ContentAppFactoryCollectionBuilder ContentApps(this IUmbracoBuilder builder)
Parameters
Returns
View Source
ContentFinders(IUmbracoBuilder)
Gets the content finders collection builder.
Declaration
public static ContentFinderCollectionBuilder ContentFinders(this IUmbracoBuilder builder)
Parameters
Returns
View Source
ContentIndexHandlers(IUmbracoBuilder)
Gets the Delivery API content index handler collection builder
Declaration
public static ContentIndexHandlerCollectionBuilder ContentIndexHandlers(this IUmbracoBuilder builder)
Parameters
Returns
View Source
Dashboards(IUmbracoBuilder)
Gets the backoffice dashboards collection builder.
Declaration
public static DashboardCollectionBuilder Dashboards(this IUmbracoBuilder builder)
Parameters
Returns
View Source
DataEditors(IUmbracoBuilder)
Gets the data editor collection builder.
Declaration
public static DataEditorCollectionBuilder DataEditors(this IUmbracoBuilder builder)
Parameters
Returns
View Source
DataValueReferenceFactories(IUmbracoBuilder)
Gets the data value reference factory collection builder.
Declaration
public static DataValueReferenceFactoryCollectionBuilder DataValueReferenceFactories(this IUmbracoBuilder builder)
Parameters
Returns
View Source
DynamicRootOriginFinders(IUmbracoBuilder)
Declaration
public static DynamicRootOriginFinderCollectionBuilder DynamicRootOriginFinders(this IUmbracoBuilder builder)
Parameters
Returns
View Source
DynamicRootSteps(IUmbracoBuilder)
Declaration
public static DynamicRootQueryStepCollectionBuilder DynamicRootSteps(this IUmbracoBuilder builder)
Parameters
Returns
View Source
EditorValidators(IUmbracoBuilder)
Gets the editor validators collection builder.
Declaration
public static EditorValidatorCollectionBuilder EditorValidators(this IUmbracoBuilder builder)
Parameters
Returns
View Source
EmbedProviders(IUmbracoBuilder)
Gets the backoffice Embed Providers collection builder.
Declaration
public static EmbedProvidersCollectionBuilder EmbedProviders(this IUmbracoBuilder builder)
Parameters
Returns
View Source
FilterHandlers(IUmbracoBuilder)
Gets the Delivery API filter handler collection builder
Declaration
public static FilterHandlerCollectionBuilder FilterHandlers(this IUmbracoBuilder builder)
Parameters
Returns
View Source
HealthCheckNotificationMethods(IUmbracoBuilder)
Declaration
public static HealthCheckNotificationMethodCollectionBuilder HealthCheckNotificationMethods(this IUmbracoBuilder builder)
Parameters
Returns
View Source
HealthChecks(IUmbracoBuilder)
Gets the health checks collection builder.
Declaration
public static HealthCheckCollectionBuilder HealthChecks(this IUmbracoBuilder builder)
Parameters
Returns
View Source
ManifestFilters(IUmbracoBuilder)
Gets the manifest filter collection builder.
Declaration
public static ManifestFilterCollectionBuilder ManifestFilters(this IUmbracoBuilder builder)
Parameters
Returns
View Source
MapDefinitions(IUmbracoBuilder)
Gets the map definitions collection builder.
Declaration
public static MapDefinitionCollectionBuilder MapDefinitions(this IUmbracoBuilder builder)
Parameters
Returns
View Source
Gets the content finders collection builder.
Declaration
public static MediaUrlGeneratorCollectionBuilder MediaUrlGenerators(this IUmbracoBuilder builder)
Parameters
Returns
View Source
Gets the media url providers collection builder.
Declaration
public static MediaUrlProviderCollectionBuilder MediaUrlProviders(this IUmbracoBuilder builder)
Parameters
Returns
View Source
PartialViewMacroSnippets(IUmbracoBuilder)
Gets the partial view macro snippets collection builder.
Declaration
public static PartialViewMacroSnippetCollectionBuilder PartialViewMacroSnippets(this IUmbracoBuilder builder)
Parameters
Returns
View Source
PartialViewSnippets(IUmbracoBuilder)
Gets the partial view snippets collection builder.
Declaration
public static PartialViewSnippetCollectionBuilder PartialViewSnippets(this IUmbracoBuilder builder)
Parameters
Returns
View Source
PropertyValueConverters(IUmbracoBuilder)
Gets the property value converters collection builder.
Declaration
public static PropertyValueConverterCollectionBuilder PropertyValueConverters(this IUmbracoBuilder builder)
Parameters
Returns
View Source
SearchableTrees(IUmbracoBuilder)
Gets the back office searchable tree collection builder
Declaration
public static SearchableTreeCollectionBuilder SearchableTrees(this IUmbracoBuilder builder)
Parameters
Returns
View Source
Sections(IUmbracoBuilder)
Gets the backoffice sections/applications collection builder.
Declaration
public static SectionCollectionBuilder Sections(this IUmbracoBuilder builder)
Parameters
Returns
View Source
SelectorHandlers(IUmbracoBuilder)
Gets the Delivery API selector handler collection builder
Declaration
public static SelectorHandlerCollectionBuilder SelectorHandlers(this IUmbracoBuilder builder)
Parameters
Returns
View Source
SortHandlers(IUmbracoBuilder)
Gets the Delivery API sort handler collection builder
Declaration
public static SortHandlerCollectionBuilder SortHandlers(this IUmbracoBuilder builder)
Parameters
Returns
View Source
TourFilters(IUmbracoBuilder)
Gets the TourFilters collection builder.
Declaration
public static TourFilterCollectionBuilder TourFilters(this IUmbracoBuilder builder)
Parameters
Returns
View Source
UrlProviders(IUmbracoBuilder)
Gets the URL providers collection builder.
Declaration
public static UrlProviderCollectionBuilder UrlProviders(this IUmbracoBuilder builder)
Parameters
Returns
View Source
UrlSegmentProviders(IUmbracoBuilder)
Gets the url segment providers collection builder.
Declaration
public static UrlSegmentProviderCollectionBuilder UrlSegmentProviders(this IUmbracoBuilder builder)
Parameters
Returns
View Source
WebhookEvents(IUmbracoBuilder)
Gets the backoffice sections/applications collection builder.
Declaration
public static WebhookEventCollectionBuilder WebhookEvents(this IUmbracoBuilder builder)
Parameters
Returns