diff --git a/Remora.Plugins/Services/PluginService.cs b/Remora.Plugins/Services/PluginService.cs index b1639e5..d37cee6 100644 --- a/Remora.Plugins/Services/PluginService.cs +++ b/Remora.Plugins/Services/PluginService.cs @@ -43,13 +43,30 @@ public sealed class PluginService { private readonly PluginServiceOptions _options; + /// + /// Initializes a new instance of the class. + /// + public PluginService() + : this(new PluginServiceOptions()) + { + } + /// /// Initializes a new instance of the class. /// /// The service options. public PluginService(IOptions options) + : this(options.Value) + { + } + + /// + /// Initializes a new instance of the class. + /// + /// The service options. + public PluginService(PluginServiceOptions options) { - _options = options.Value; + _options = options; } ///