Search Results for

    Show / Hide Table of Contents
    View Source

    Class OEmbedProviderBase

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Media.EmbedProviders
    Assembly: Umbraco.Core.dll
    Syntax
    public abstract class OEmbedProviderBase : IEmbedProvider

    Constructors

    View Source

    OEmbedProviderBase(IJsonSerializer)

    Declaration
    protected OEmbedProviderBase(IJsonSerializer jsonSerializer)
    Parameters
    Type Name Description
    IJsonSerializer jsonSerializer

    Properties

    View Source

    ApiEndpoint

    Declaration
    public abstract string ApiEndpoint { get; }
    Property Value
    Type Description
    System.String
    View Source

    RequestParams

    Declaration
    public abstract Dictionary<string, string> RequestParams { get; }
    Property Value
    Type Description
    Umbraco.Cms.Core.Dictionary<System.String, System.String>
    View Source

    UrlSchemeRegex

    Declaration
    public abstract string[] UrlSchemeRegex { get; }
    Property Value
    Type Description
    System.String[]

    Methods

    View Source

    DownloadResponse(String)

    Declaration
    public virtual string DownloadResponse(string url)
    Parameters
    Type Name Description
    System.String url
    Returns
    Type Description
    System.String
    View Source

    GetEmbedProviderUrl(String, Int32, Int32)

    Declaration
    public virtual string GetEmbedProviderUrl(string url, int maxWidth, int maxHeight)
    Parameters
    Type Name Description
    System.String url
    System.Int32 maxWidth
    System.Int32 maxHeight
    Returns
    Type Description
    System.String
    View Source

    GetJsonResponse<T>(String)

    Declaration
    public virtual T GetJsonResponse<T>(string url)
        where T : class
    Parameters
    Type Name Description
    System.String url
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    View Source

    GetMarkup(String, Int32, Int32)

    Declaration
    public abstract string GetMarkup(string url, int maxWidth = 0, int maxHeight = 0)
    Parameters
    Type Name Description
    System.String url
    System.Int32 maxWidth
    System.Int32 maxHeight
    Returns
    Type Description
    System.String
    View Source

    GetXmlProperty(XmlDocument, String)

    Declaration
    public virtual string GetXmlProperty(XmlDocument doc, string property)
    Parameters
    Type Name Description
    System.Xml.XmlDocument doc
    System.String property
    Returns
    Type Description
    System.String
    View Source

    GetXmlResponse(String)

    Declaration
    public virtual XmlDocument GetXmlResponse(string url)
    Parameters
    Type Name Description
    System.String url
    Returns
    Type Description
    System.Xml.XmlDocument
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • OEmbedProviderBase(IJsonSerializer)
    • Properties
      • ApiEndpoint
      • RequestParams
      • UrlSchemeRegex
    • Methods
      • DownloadResponse(String)
      • GetEmbedProviderUrl(String, Int32, Int32)
      • GetJsonResponse<T>(String)
      • GetMarkup(String, Int32, Int32)
      • GetXmlProperty(XmlDocument, String)
      • GetXmlResponse(String)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX