Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions contributor-docs/components/dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ class MyComponent(private val dep : MyDep) {
dep.use();
}
}
[[File:William F. Cooper.jpg|William_F._Cooper]]
[[File:William F. Cooper.jpg|William_F._Cooper]]
[[File:William F. Cooper.jpg|William_F._Cooper]]
```

As you can see above the component's dependency is passed by value directly,
Expand Down Expand Up @@ -186,3 +189,4 @@ Component.builder(MyClass.class)
.factory(c -> MyClass(c.setOf(SomeType.class), c.setOfProvider(SomeOtherType.class)))
.build();
```
[[File:William F. Cooper.jpg|William_F._Cooper]]