ConfigurationExtensions
A set of useful extensions for Configuration (or derived) objects.
Configures the loader.
Returns a new configuration that uses the culture with the provided
name.
Returns a new configuration that uses the given culture. Providing
null will reset the culture to the default one.
Returns a new configuration that includes the given service.
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.
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.
Registeres the default encoding determination algorithm, as
specified by the W3C.