Inherit from OEmbedProviderBase in OEmbed providers (#12379)
* Use OEmbedProviderBase * Use QueryHelpers.AddQueryString in .NET Core * Nullable value * Cleanup usings * Ensure invariant string * No need to URL encode when using QueryHelpers.AddQueryString() * Include WebUtilities * Cleanup usings * Revert "Include WebUtilities" This reverts commit 3cffb740cee8f11bd83cd6e753fba1a04575e5d2. * Revert "No need to URL encode when using QueryHelpers.AddQueryString()" This reverts commit 70ca5306ac9343c8825dba48ebd75180b5fd0ecf. * Revert "Ensure invariant string" This reverts commit 318ab23f6f2c4605308d767a4e65e7ceb286cebe. * Revert "Nullable value" This reverts commit c39911de06812620a08800a1cb72e1197d9972cc. * Revert to StringBuilder * Cleanup usings * Add more descriptions of providers
This commit is contained in:
committed by
GitHub
parent
f2ba4b1d4c
commit
dcb54c1f6e
@@ -3,8 +3,10 @@ using Umbraco.Cms.Core.Serialization;
|
||||
|
||||
namespace Umbraco.Cms.Core.Media.EmbedProviders;
|
||||
|
||||
// TODO (V10): change base class to OEmbedProviderBase
|
||||
public class DailyMotion : EmbedProviderBase
|
||||
/// <summary>
|
||||
/// Embed Provider for Dailymotion the popular online video-sharing platform.
|
||||
/// </summary>
|
||||
public class DailyMotion : OEmbedProviderBase
|
||||
{
|
||||
public DailyMotion(IJsonSerializer jsonSerializer)
|
||||
: base(jsonSerializer)
|
||||
|
||||
@@ -4,8 +4,10 @@ using Umbraco.Cms.Core.Serialization;
|
||||
|
||||
namespace Umbraco.Cms.Core.Media.EmbedProviders;
|
||||
|
||||
// TODO(V10) : change base class to OEmbedProviderBase
|
||||
public class Flickr : EmbedProviderBase
|
||||
/// <summary>
|
||||
/// Embed Provider for Flickr the popular online image hosting and video hosting service.
|
||||
/// </summary>
|
||||
public class Flickr : OEmbedProviderBase
|
||||
{
|
||||
public Flickr(IJsonSerializer jsonSerializer)
|
||||
: base(jsonSerializer)
|
||||
|
||||
@@ -2,8 +2,10 @@ using Umbraco.Cms.Core.Serialization;
|
||||
|
||||
namespace Umbraco.Cms.Core.Media.EmbedProviders;
|
||||
|
||||
// TODO(V10) : change base class to OEmbedProviderBase
|
||||
public class GettyImages : EmbedProviderBase
|
||||
/// <summary>
|
||||
/// Embed Provider for Getty Images supplier of stock images, editorial photography, video and music for business and consumers.
|
||||
/// </summary>
|
||||
public class GettyImages : OEmbedProviderBase
|
||||
{
|
||||
public GettyImages(IJsonSerializer jsonSerializer)
|
||||
: base(jsonSerializer)
|
||||
|
||||
@@ -5,8 +5,7 @@ namespace Umbraco.Cms.Core.Media.EmbedProviders;
|
||||
/// <summary>
|
||||
/// Embed Provider for Giphy.com the popular online GIFs and animated sticker provider.
|
||||
/// </summary>
|
||||
/// TODO(V10) : change base class to OEmbedProviderBase
|
||||
public class Giphy : EmbedProviderBase
|
||||
public class Giphy : OEmbedProviderBase
|
||||
{
|
||||
public Giphy(IJsonSerializer jsonSerializer)
|
||||
: base(jsonSerializer)
|
||||
|
||||
@@ -2,8 +2,10 @@ using Umbraco.Cms.Core.Serialization;
|
||||
|
||||
namespace Umbraco.Cms.Core.Media.EmbedProviders;
|
||||
|
||||
// TODO(V10) : change base class to OEmbedProviderBase
|
||||
public class Hulu : EmbedProviderBase
|
||||
/// <summary>
|
||||
/// Embed Provider for Hulu the the popular online subscription streaming service.
|
||||
/// </summary>
|
||||
public class Hulu : OEmbedProviderBase
|
||||
{
|
||||
public Hulu(IJsonSerializer jsonSerializer)
|
||||
: base(jsonSerializer)
|
||||
|
||||
@@ -3,8 +3,10 @@ using Umbraco.Cms.Core.Serialization;
|
||||
|
||||
namespace Umbraco.Cms.Core.Media.EmbedProviders;
|
||||
|
||||
// TODO(V10) : change base class to OEmbedProviderBase
|
||||
public class Issuu : EmbedProviderBase
|
||||
/// <summary>
|
||||
/// Embed Provider for Issuu the popular platform to create interactive flipbooks, social media posts, GIFs, and more from a single piece of static content.
|
||||
/// </summary>
|
||||
public class Issuu : OEmbedProviderBase
|
||||
{
|
||||
public Issuu(IJsonSerializer jsonSerializer)
|
||||
: base(jsonSerializer)
|
||||
|
||||
@@ -2,8 +2,10 @@ using Umbraco.Cms.Core.Serialization;
|
||||
|
||||
namespace Umbraco.Cms.Core.Media.EmbedProviders;
|
||||
|
||||
// TODO(V10) : change base class to OEmbedProviderBase
|
||||
public class Kickstarter : EmbedProviderBase
|
||||
/// <summary>
|
||||
/// Embed Provider for Kickstarter the popular online crowdfunding platform focused on creativity.
|
||||
/// </summary>
|
||||
public class Kickstarter : OEmbedProviderBase
|
||||
{
|
||||
public Kickstarter(IJsonSerializer jsonSerializer)
|
||||
: base(jsonSerializer)
|
||||
|
||||
@@ -3,8 +3,10 @@ using Umbraco.Cms.Core.Serialization;
|
||||
|
||||
namespace Umbraco.Cms.Core.Media.EmbedProviders;
|
||||
|
||||
// TODO(V10) : change base class to OEmbedProviderBase
|
||||
public class Slideshare : EmbedProviderBase
|
||||
/// <summary>
|
||||
/// Embed Provider for SlideShare for professional online content including presentations, infographics, documents, and videos.
|
||||
/// </summary>
|
||||
public class Slideshare : OEmbedProviderBase
|
||||
{
|
||||
public Slideshare(IJsonSerializer jsonSerializer)
|
||||
: base(jsonSerializer)
|
||||
|
||||
@@ -3,8 +3,10 @@ using Umbraco.Cms.Core.Serialization;
|
||||
|
||||
namespace Umbraco.Cms.Core.Media.EmbedProviders;
|
||||
|
||||
// TODO(V10) : change base class to OEmbedProviderBase
|
||||
public class Soundcloud : EmbedProviderBase
|
||||
/// <summary>
|
||||
/// Embed Provider for SoundCloud the popular online audio distribution platform and music sharing provider.
|
||||
/// </summary>
|
||||
public class Soundcloud : OEmbedProviderBase
|
||||
{
|
||||
public Soundcloud(IJsonSerializer jsonSerializer)
|
||||
: base(jsonSerializer)
|
||||
|
||||
@@ -3,8 +3,10 @@ using Umbraco.Cms.Core.Serialization;
|
||||
|
||||
namespace Umbraco.Cms.Core.Media.EmbedProviders;
|
||||
|
||||
// TODO(V10) : change base class to OEmbedProviderBase
|
||||
public class Ted : EmbedProviderBase
|
||||
/// <summary>
|
||||
/// Embed Provider for Ted that posts talks online for free distribution.
|
||||
/// </summary>
|
||||
public class Ted : OEmbedProviderBase
|
||||
{
|
||||
public Ted(IJsonSerializer jsonSerializer)
|
||||
: base(jsonSerializer)
|
||||
|
||||
@@ -2,8 +2,10 @@ using Umbraco.Cms.Core.Serialization;
|
||||
|
||||
namespace Umbraco.Cms.Core.Media.EmbedProviders;
|
||||
|
||||
// TODO(V10) : change base class to OEmbedProviderBase
|
||||
public class Twitter : EmbedProviderBase
|
||||
/// <summary>
|
||||
/// Embed Provider for Twitter the popular online service for microblogging and social networking.
|
||||
/// </summary>
|
||||
public class Twitter : OEmbedProviderBase
|
||||
{
|
||||
public Twitter(IJsonSerializer jsonSerializer)
|
||||
: base(jsonSerializer)
|
||||
|
||||
@@ -3,8 +3,10 @@ using Umbraco.Cms.Core.Serialization;
|
||||
|
||||
namespace Umbraco.Cms.Core.Media.EmbedProviders;
|
||||
|
||||
// TODO(V10) : change base class to OEmbedProviderBase
|
||||
public class Vimeo : EmbedProviderBase
|
||||
/// <summary>
|
||||
/// Embed Provider for Vimeo the popular online video hosting, sharing, and services platform provider.
|
||||
/// </summary>
|
||||
public class Vimeo : OEmbedProviderBase
|
||||
{
|
||||
public Vimeo(IJsonSerializer jsonSerializer)
|
||||
: base(jsonSerializer)
|
||||
|
||||
@@ -2,8 +2,10 @@ using Umbraco.Cms.Core.Serialization;
|
||||
|
||||
namespace Umbraco.Cms.Core.Media.EmbedProviders;
|
||||
|
||||
// TODO(V10) : change base class to OEmbedProviderBase
|
||||
public class YouTube : EmbedProviderBase
|
||||
/// <summary>
|
||||
/// Embed Provider for YouTube the popular online video sharing and social media platform provider.
|
||||
/// </summary>
|
||||
public class YouTube : OEmbedProviderBase
|
||||
{
|
||||
public YouTube(IJsonSerializer jsonSerializer)
|
||||
: base(jsonSerializer)
|
||||
|
||||
Reference in New Issue
Block a user