diff --git a/src/Rebus.Correlate/DependencyResolverAdapter.cs b/src/Rebus.Correlate/DependencyResolverAdapter.cs index 80bca11..8a76372 100644 --- a/src/Rebus.Correlate/DependencyResolverAdapter.cs +++ b/src/Rebus.Correlate/DependencyResolverAdapter.cs @@ -7,7 +7,7 @@ namespace Rebus.Correlate; /// /// Simple dependency resolver adapter using func for Rebus to resolve Correlate dependencies. /// -public class DependencyResolverAdapter : IResolutionContext +public sealed class DependencyResolverAdapter : IResolutionContext { private readonly Func _optionalResolve;