using Elsa.Http.Contexts; using Elsa.Http.Models; namespace Elsa.Http.Contracts; /// /// Provides downloadables from the specified content, if supported. /// public interface IDownloadableContentHandler { /// /// The priority of this provider. Providers with lower priority are tried first. /// float Priority { get; } /// /// Returns true if this provider supports the specified content. /// /// The content to check. bool GetSupportsContent(object content); /// /// Returns a list of downloadables from the specified content. /// IEnumerable>> GetDownloadablesAsync(DownloadableContext context); }