AngleSharp by Florian Rappl

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

 ConfigurationExtensions

public static class ConfigurationExtensions
A set of useful extensions for Configuration (or derived) objects.
public static Configuration SetCulture(this IConfiguration configuration, string cultureName)

Returns a new configuration that uses the culture with the provided name.

public static Configuration SetCulture(this IConfiguration configuration, CultureInfo culture)

Returns a new configuration that uses the given culture. Providing null will reset the culture to the default one.

public static Configuration With(this IConfiguration configuration, IService service)

Returns a new configuration that includes the given service.

public static IConfiguration WithCss(this IConfiguration configuration)

Registers the default styling service with a new CSS style engine to retrieve, if no other styling service has been registered yet.

public static IConfiguration WithDefaultLoader(this IConfiguration configuration, Action<LoaderService> setup = null, IEnumerable<IRequester> requesters = null)

Registers the default loader service, if no other loader has been registered yet.

public static IConfiguration WithLocaleBasedEncoding(this IConfiguration configuration)

Registeres the default encoding determination algorithm, as specified by the W3C.