AngleSharp by Florian Rappl

<PackageReference Include="AngleSharp" Version="0.8.3" />

 IResourceService<TResource>

public interface IResourceService<TResource> : IService where TResource : IResourceInfo
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> : IService where TResource : IResourceInfo { bool SupportsType(string mimeType); Task<TResource> CreateAsync(IResponse response, CancellationToken cancel); } }