Fix breaking change

This commit is contained in:
Bjarke Berg
2021-12-15 11:53:16 +01:00
parent d41fca73a1
commit 694a636746

View File

@@ -1,3 +1,4 @@
using System;
using Umbraco.Cms.Core.Composing;
using Umbraco.Cms.Core.Dashboards;
using Umbraco.Cms.Core.Media;
@@ -84,6 +85,10 @@ namespace Umbraco.Cms.Core.DependencyInjection
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>
/// Register a section.
/// </summary>