IResourceService<TResource>
Represents a service to create a specific resource handler.
using AngleSharp.Network;
using AngleSharp.Services.Media;
using System.Threading;
using System.Threading.Tasks;
namespace AngleSharp.Services
{
public interface IResourceService<TResource> where TResource : IResourceInfo
{
bool SupportsType(string mimeType);
Task<TResource> CreateAsync(IResponse response, CancellationToken cancel);
}
}