mirror of
https://github.com/mbierlee/poodinis.git
synced 2024-11-15 04:04:01 +01:00
Change wording to be more accurate
This commit is contained in:
parent
97fbf03b85
commit
de26a49b8d
|
@ -85,7 +85,7 @@ auto exampleInstance = new ExampleClassB();
|
||||||
// Manual autowiring
|
// Manual autowiring
|
||||||
dependencies.autowire(exampleInstance);
|
dependencies.autowire(exampleInstance);
|
||||||
|
|
||||||
// Let the container handle injection
|
// Let the container autowire on resolve
|
||||||
dependencies.register!ExampleClassB;
|
dependencies.register!ExampleClassB;
|
||||||
auto exampleInstance2 = dependencies.resolve!ExampleClassB;
|
auto exampleInstance2 = dependencies.resolve!ExampleClassB;
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue