Skip to content

Commit

Permalink
Stress you don't need to decorate constructors all the time.
Browse files Browse the repository at this point in the history
  • Loading branch information
glennawatson committed Jul 21, 2021
1 parent 1cf6fc4 commit 351b353
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ If there are more than one constructor use the `[DependencyInjectionConstructor]
}
```

You don't need to decorate when there is only one constructor.

### Property Injection

Use the `[DependencyInjectionProperty]` above a property to be initialized. It must be `public` or `internal` setter.
Expand Down

0 comments on commit 351b353

Please sign in to comment.