You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes you need to build up an existing composition root and inject all of its dependencies, in which case the `Builder`method will be useful, as in the example below:
5
+
Sometimes you need builders for all types inherited from <seecref=“T”/> available at compile time at the point where the method is called.
Copy file name to clipboardExpand all lines: tests/Pure.DI.UsageTests/Basics/BuildersScenario.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
$v=true
3
3
$p=9
4
4
$d=Builders
5
-
$h=Sometimes you need to build up an existing composition root and inject all of its dependencies, in which case the `Builder` method will be useful, as in the example below:
5
+
$h=Sometimes you need builders for all types inherited from <see cref=“T”/> available at compile time at the point where the method is called.
6
6
$f=The default builder method name is `BuildUp`. The first argument to this method will always be the instance to be built.
0 commit comments