AngleSharp by AngleSharp

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

.NET API 1,204,224 bytes

 ContextExtensions

static class ContextExtensions
Useful methods for browsing contexts.
using AngleSharp.Services; using System.Diagnostics; namespace AngleSharp.Extensions { [DebuggerStepThrough] internal static class ContextExtensions { public static TService CreateService<TService>(this IBrowsingContext context) { return context.Configuration.GetFactory<IServiceFactory>().Create<TService>(context); } } }