Search Results for

    Show / Hide Table of Contents
    View Source

    Class OEmbedService

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Services
    Assembly: Umbraco.Core.dll
    Syntax
    public class OEmbedService : IOEmbedService

    Constructors

    View Source

    OEmbedService(EmbedProvidersCollection, ILogger<OEmbedService>)

    Declaration
    public OEmbedService(EmbedProvidersCollection embedProvidersCollection, ILogger<OEmbedService> logger)
    Parameters
    Type Name Description
    EmbedProvidersCollection embedProvidersCollection
    ILogger<OEmbedService> logger

    Methods

    View Source

    GetMarkupAsync(Uri, Nullable<Int32>, Nullable<Int32>, CancellationToken)

    Declaration
    public async Task<Attempt<string, OEmbedOperationStatus>> GetMarkupAsync(Uri url, int? maxWidth, int? maxHeight, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    Uri url
    System.Nullable<System.Int32> maxWidth
    System.Nullable<System.Int32> maxHeight
    CancellationToken cancellationToken
    Returns
    Type Description
    Task<Attempt<System.String, OEmbedOperationStatus>>
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • OEmbedService(EmbedProvidersCollection, ILogger<OEmbedService>)
    • Methods
      • GetMarkupAsync(Uri, Nullable<Int32>, Nullable<Int32>, CancellationToken)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX