Showing
1 changed file
with
5 additions
and
3 deletions
@@ -88,11 +88,11 @@ Get.put<S>( | @@ -88,11 +88,11 @@ Get.put<S>( | ||
88 | // defaults to false | 88 | // defaults to false |
89 | bool permanent = false, | 89 | bool permanent = false, |
90 | 90 | ||
91 | - // optional: TODO: make docs about this | 91 | + // optional: allows you after using an abstract class in a test, replace it with another one and follow the test. |
92 | // defaults to false | 92 | // defaults to false |
93 | bool overrideAbstract = false, | 93 | bool overrideAbstract = false, |
94 | 94 | ||
95 | - // optional: TODO: make docs about this | 95 | + // optional: allows you to create the dependency using function instead of the dependency itself. |
96 | FcBuilderFunc<S> builder, | 96 | FcBuilderFunc<S> builder, |
97 | ) | 97 | ) |
98 | ``` | 98 | ``` |
@@ -109,7 +109,9 @@ Get.lazyPut<S>( | @@ -109,7 +109,9 @@ Get.lazyPut<S>( | ||
109 | // must be unique | 109 | // must be unique |
110 | String tag, | 110 | String tag, |
111 | 111 | ||
112 | - // optional: TODO: make docs about this | 112 | + // optional: It is similar to "permanent", the difference is that the instance is discarded when |
113 | + // is not being used, but when it's use is needed again, Get will recreate the instance | ||
114 | + // just the same as "SmartManagement.keepFactory" in the bindings api | ||
113 | // defaults to false | 115 | // defaults to false |
114 | bool fenix = false | 116 | bool fenix = false |
115 | 117 |
-
Please register or login to post a comment