View Source
Class QueryOEmbedController
Inheritance
System.Object
Assembly: Umbraco.Cms.Api.Management.dll
Syntax
public class QueryOEmbedController : OEmbedControllerBase
Constructors
View Source
QueryOEmbedController(IOEmbedService)
Declaration
public QueryOEmbedController(IOEmbedService oEmbedService)
Parameters
Type |
Name |
Description |
IOEmbedService |
oEmbedService |
|
Methods
View Source
Query(CancellationToken, Uri, Nullable<Int32>, Nullable<Int32>)
Declaration
public async Task<IActionResult> Query(CancellationToken cancellationToken, Uri url, int? maxWidth = null, int? maxHeight = null)
Parameters
Type |
Name |
Description |
CancellationToken |
cancellationToken |
|
Uri |
url |
|
System.Nullable<System.Int32> |
maxWidth |
|
System.Nullable<System.Int32> |
maxHeight |
|
Returns
Type |
Description |
Task<IActionResult> |
|