Browse Source

Remove "Get" statement from example docs

tags/1.0-rc
james7132 8 years ago
parent
commit
9609520a53
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      docs/guides/samples/dependency_module.cs

+ 1
- 2
docs/guides/samples/dependency_module.cs View File

@@ -32,10 +32,9 @@ public class ModuleB
[DontInject] [DontInject]
public NotificationService { get; set; } public NotificationService { get; set; }


public ModuleB(CommandService commands, IDependencyMap map)
public ModuleB(CommandService commands)
{ {
Commands = commands; Commands = commands;
_notification = map.Get<NotificationService>();
} }


} }

Loading…
Cancel
Save