Class Configuration
- Namespace
- AngleSharp
- Assembly
- AngleSharp.dll
Represents context configuration for the AngleSharp library. Custom configurations can be made by deriving from this class, just implementing IConfiguration or modifying an instance of this specific class.
public class Configuration : IConfiguration
- Inheritance
-
Configuration
- Implements
- Inherited Members
- Extension Methods
Constructors
Configuration(IEnumerable<object>?)
Creates a new immutable configuration.
public Configuration(IEnumerable<object>? services = null)
Parameters
services
IEnumerable<object>The services to expose.
Properties
Default
Gets the default configuration to use. The default configuration can be overriden by calling the SetDefault method.
public static IConfiguration Default { get; }
Property Value
Services
Gets an enumeration over the registered services.
public IEnumerable<object> Services { get; }