diff --git a/docs/guides/samples/dependency_module.cs b/docs/guides/samples/dependency_module.cs index 0d65a1eea..561b0f6ac 100644 --- a/docs/guides/samples/dependency_module.cs +++ b/docs/guides/samples/dependency_module.cs @@ -32,10 +32,9 @@ public class ModuleB [DontInject] public NotificationService { get; set; } - public ModuleB(CommandService commands, IDependencyMap map) + public ModuleB(CommandService commands) { Commands = commands; - _notification = map.Get(); } }