We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d41fca7 commit 694a636Copy full SHA for 694a636
src/Umbraco.Core/DependencyInjection/UmbracoBuilder.CollectionBuilders.cs
@@ -1,3 +1,4 @@
1
+using System;
2
using Umbraco.Cms.Core.Composing;
3
using Umbraco.Cms.Core.Dashboards;
4
using Umbraco.Cms.Core.Media;
@@ -84,6 +85,10 @@ public static IUmbracoBuilder AddEmbedProvider<T>(this IUmbracoBuilder builder)
84
85
return builder;
86
}
87
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
+
92
/// <summary>
93
/// Register a section.
94
/// </summary>
0 commit comments