diff --git a/src/EventStore.Plugins/Subsystems/ISubsystem.cs b/src/EventStore.Plugins/Subsystems/ISubsystem.cs index d591283..d0e287b 100644 --- a/src/EventStore.Plugins/Subsystems/ISubsystem.cs +++ b/src/EventStore.Plugins/Subsystems/ISubsystem.cs @@ -8,6 +8,6 @@ namespace EventStore.Plugins.Subsystems; public interface ISubsystem { IApplicationBuilder Configure(IApplicationBuilder builder); IServiceCollection ConfigureServices(IServiceCollection services); - IEnumerable Start(); + IReadOnlyList Start(); void Stop(); } diff --git a/src/EventStore.Plugins/Subsystems/ISubsystemsPlugin.cs b/src/EventStore.Plugins/Subsystems/ISubsystemsPlugin.cs index 62f6a0c..c8d0afe 100644 --- a/src/EventStore.Plugins/Subsystems/ISubsystemsPlugin.cs +++ b/src/EventStore.Plugins/Subsystems/ISubsystemsPlugin.cs @@ -8,5 +8,5 @@ public interface ISubsystemsPlugin { string Name { get; } string Version { get; } string CommandLineName { get; } - IEnumerable> GetSubsystemFactories(string configPath); + IReadOnlyList> GetSubsystemFactories(string configPath); }