View Source
Class UmbracoBuilderExtensions
Contains extensions methods for IUmbracoBuilder used for registering content apps.
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 : class, 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 : class, 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 : class, 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 : class, IDashboard
Parameters
Returns
Type Parameters
Name |
Description |
T |
The type of the dashboard.
|
View Source
AddEmbedProvider<T>(IUmbracoBuilder)
Register a embed provider.
Declaration
public static IUmbracoBuilder AddEmbedProvider<T>(this IUmbracoBuilder builder)
where T : class, 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 : class, IManifestFilter
Parameters
Returns
Type Parameters
Name |
Description |
T |
The type of the manifest filter.
|
View Source
Register a media url provider.
Declaration
public static IUmbracoBuilder AddMediaUrlProvider<T>(this IUmbracoBuilder builder)
where T : class, 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
AddOEmbedProvider<T>(IUmbracoBuilder)
Declaration
public static IUmbracoBuilder AddOEmbedProvider<T>(this IUmbracoBuilder builder)
where T : class, IEmbedProvider
Parameters
Returns
Type Parameters
View Source
AddSection<T>(IUmbracoBuilder)
Declaration
public static IUmbracoBuilder AddSection<T>(this IUmbracoBuilder builder)
where T : class, 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 : class, IUrlProvider
Parameters
Returns
Type Parameters
Name |
Description |
T |
The type of the url provider.
|
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)
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
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
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
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
OEmbedProviders(IUmbracoBuilder)
Gets the backoffice OEmbed Providers collection builder.
Declaration
public static EmbedProvidersCollectionBuilder OEmbedProviders(this IUmbracoBuilder builder)
Parameters
Returns
View Source
PartialViewMacroSnippets(IUmbracoBuilder)
Declaration
public static PartialViewMacroSnippetCollectionBuilder PartialViewMacroSnippets(this IUmbracoBuilder builder)
Parameters
Returns
View Source
PartialViewSnippets(IUmbracoBuilder)
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
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