Fix breaking change
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
using System;
|
||||||
using Umbraco.Cms.Core.Composing;
|
using Umbraco.Cms.Core.Composing;
|
||||||
using Umbraco.Cms.Core.Dashboards;
|
using Umbraco.Cms.Core.Dashboards;
|
||||||
using Umbraco.Cms.Core.Media;
|
using Umbraco.Cms.Core.Media;
|
||||||
@@ -84,6 +85,10 @@ namespace Umbraco.Cms.Core.DependencyInjection
|
|||||||
return builder;
|
return builder;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Obsolete("Use AddEmbedProvider instead. This will be removed in Umbraco 10")]
|
||||||
|
public static IUmbracoBuilder AddOEmbedProvider<T>(this IUmbracoBuilder builder)
|
||||||
|
where T : class, IEmbedProvider => AddEmbedProvider<T>(builder);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Register a section.
|
/// Register a section.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user