2023-09-16 09:06:56 +00:00
|
|
|
using Elsa.Http.Models;
|
2023-09-17 20:35:13 +00:00
|
|
|
using Elsa.Http.Options;
|
2023-09-16 09:06:56 +00:00
|
|
|
|
|
|
|
|
namespace Elsa.Http.Contracts;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Provides downloadables from the specified content, if supported.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface IDownloadableManager
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Returns a list of downloadables from the specified content.
|
|
|
|
|
/// </summary>
|
2023-09-17 20:35:13 +00:00
|
|
|
IEnumerable<Func<ValueTask<Downloadable>>> GetDownloadablesAsync(object content, DownloadableOptions? options = default, CancellationToken cancellationToken = default);
|
2023-09-16 09:06:56 +00:00
|
|
|
}
|