ConfigurationExtensions
Represents a helper to construct objects with externally defined
classes and libraries.
Gets the default encoding for the given configuration.
Finds an existing browsing context with the given name.
Tries to resolve a command service with the given command id.
Gets the cookie for the provided address.
Tries to resolve the CSS style engine.
Gets the provided current culture.
Gets the culture from the given language string or falls back to
the default culture of the provided configuration (if any). Last
resort is to use the current UI culture.
Gets the provided current language.
Tries to resolve a script engine for the given type name.
public static TService GetService<TService>(this IConfiguration configuration) where TService : IService
Gets a service with a specific type from the configuration, if it
has been registered.
public static IEnumerable<TService> GetServices<TService>(this IConfiguration configuration) where TService : IService
Gets services with a specific type from the configuration, if it
has been registered.
Gets a spellchecker for the given language.
Tries to resolve a style engine for the given type name.
Creates a new browsing context without any name.
Sets the cookie for the provided address.