Skip to content

Commit 694a636

Browse files
committed
Fix breaking change
1 parent d41fca7 commit 694a636

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Umbraco.Core/DependencyInjection/UmbracoBuilder.CollectionBuilders.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
using System;
12
using Umbraco.Cms.Core.Composing;
23
using Umbraco.Cms.Core.Dashboards;
34
using Umbraco.Cms.Core.Media;
@@ -84,6 +85,10 @@ public static IUmbracoBuilder AddEmbedProvider<T>(this IUmbracoBuilder builder)
8485
return builder;
8586
}
8687

88+
[Obsolete("Use AddEmbedProvider instead. This will be removed in Umbraco 10")]
89+
public static IUmbracoBuilder AddOEmbedProvider<T>(this IUmbracoBuilder builder)
90+
where T : class, IEmbedProvider => AddEmbedProvider<T>(builder);
91+
8792
/// <summary>
8893
/// Register a section.
8994
/// </summary>

0 commit comments

Comments
 (0)