AngleSharp by AngleSharp

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

 ConfigurationExtensions

public static class ConfigurationExtensions
A set of useful extensions for Configuration (or derived) objects.
public sealed class LoaderSetup

Configures the loader.

public static Configuration SetCulture(this IConfiguration configuration, string name)

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, object service)

Returns a new configuration that includes the given service.

public static Configuration With(this IConfiguration configuration, IEnumerable<object> services)

Returns a new configuration that includes the given services.

public static IConfiguration With<TService>(this IConfiguration configuration, Func<IBrowsingContext, TService> creator)

Returns a new configuration that includes the given service creator.

public static IConfiguration WithCookies(this IConfiguration configuration)

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

public static IConfiguration WithCss(this IConfiguration configuration, Action<CssStyleEngine> setup = null)

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<LoaderSetup> 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.