From 26f7e361bc78bbbbf7397f8e69550c7293ca6977 Mon Sep 17 00:00:00 2001 From: Martijn Bodeman <11424653+skwasjer@users.noreply.github.com> Date: Sat, 25 Nov 2023 06:27:50 +0100 Subject: [PATCH] style(CA1033)!: seal DependencyResolverAdapter as we're hiding some unimplemented interface members. (#20) --- src/Rebus.Correlate/DependencyResolverAdapter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;