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
Begins binding definition for multiple dependencies. See _Bind``1(System.Object[])_ for examples.
10965
-
The type 1 of dependency to be bound.The type 2 of dependency to be bound.The type 3 of dependency to be bound.The type 4 of dependency to be bound.
10965
+
Type 1 of a dependency to be bound.Type 2 of a dependency to be bound.Type 3 of a dependency to be bound.Type 4 of a dependency to be bound.
10966
10966
- parameter _tags_ - The optional argument that specifies tags for a particular type of dependency binding.
10967
10967
10968
10968
- returns Reference to the setup continuation chain.
@@ -11000,7 +11000,7 @@ The type of dependency to be bound.
11000
11000
11001
11001
- parameter _kind_ - The optional argument specifying the kind for the root of the composition.
11002
11002
11003
-
- parameter _tags_ - The optional argument that specifies tags for a particular type of dependency binding. If is is not empty, the first tag is used for the root.
11003
+
- parameter _tags_ - The optional argument that specifies tags for a particular type of dependency binding. If it is is not empty, the first tag is used for the root.
11004
11004
11005
11005
- returns Reference to the setup continuation chain.
11006
11006
@@ -11411,7 +11411,7 @@ DI.Setup("Composition")
11411
11411
11412
11412
11413
11413
- parameter _lifetimes_ - _Lifetime_ of the instances to be accumulated. Instances with lifetime _Singleton_, _Scoped_, or _PerResolve_ only accumulate in an accumulator that is NOT lazily created.
11414
-
The type of instance. All instances that can be cast to this type will be aacumulated.The type of accumulator. It must have a public constructor without parameters and a `Add` method with a single argument that allows you to add an instance of type .
11414
+
The type of instance. All instances that can be cast to this type will be accumulated.The type of accumulator. It must have a public constructor without parameters and a `Add` method with a single argument that allows you to add an instance of type .
11415
11415
- returns Reference to the setup continuation chain.
11416
11416
11417
11417
See also _Lifetime_.
@@ -11659,7 +11659,7 @@ DI.Setup("Composition")
11659
11659
```
11660
11660
11661
11661
11662
-
This is the default lifetime, it can be omitted, for example:
11662
+
This is the default lifetime, it can be omitted, for example,
Does not guarantee that there will be a single instance of the dependency for each root of the composition, but is useful to reduce the number of instances of type.
11707
+
Does not guarantee that there will be a single instance of the dependency for each root of the composition, but is useful to reduce the number of instances created.
11708
11708
11709
11709
```c#
11710
11710
@@ -11737,7 +11737,7 @@ DI.Setup("Composition")
11737
11737
11738
11738
<details><summary>Name</summary><blockquote>
11739
11739
11740
-
Represents wellknown names.
11740
+
Represents well-known names.
11741
11741
11742
11742
</blockquote></details>
11743
11743
@@ -11977,7 +11977,7 @@ Specifies to use a `override` modifier for the root of the composition.
- parameter _injectionSites_ - Set of labels for inection each, must be specified in a special format: <namespace>.<type>.<member>[:argument]. The argument is specified only for the constructor and methods. The wildcards '*' and '?' are supported. All names are case-sensitive. The global namespace prefix 'global::' must be omitted.
12035
+
- parameter _injectionSites_ - Set of labels for injection each must be specified in a special format: <namespace>.<type>.<member>[:argument]. The argument is specified only for the constructor and methods. The wildcards '*' and '?' are supported. All names are case-sensitive. The global namespace prefix 'global::' must be omitted.
Atomically generated smart tag with value "UniqueTag".
12105
-
It's used for:
12106
-
12107
-
class _Generator__ApiInvocationProcessor_ <-- (UniqueTag) -- _IdGenerator_ as _PerResolve__BindingBuilder_ <-- _IIdGenerator_(UniqueTag) -- _IdGenerator_ as _PerResolve_
Atomically generated smart tag with value "Overrider".
12113
+
Atomically generated smart tag with value "UniqueTag".
12123
12114
It's used for:
12124
12115
12125
-
class _Generator__DependencyGraphBuilder_ <-- _IGraphRewriter_(Overrider) -- _GraphOverrider_ as _PerBlock_
12116
+
class _Generator__ApiInvocationProcessor_ <-- (UniqueTag) -- _IdGenerator_ as _PerResolve__BindingBuilder_ <-- _IIdGenerator_(UniqueTag) -- _IdGenerator_ as _PerResolve_
The injection type can be defined manually using the `Type` attribute.This attribute explicitly overrides an injected type, otherwise it would be determined automatically based on the type of the constructor/method, property, or field parameter.
12917
+
The injection type can be defined manually using the `Type` attribute.This attribute explicitly overrides an injected type, otherwise it would be determined automatically based on the type of the constructor/method, property, or field parameter.
12918
12918
This attribute is part of the API, but you can use your own attribute at any time, and this allows you to define them in the assembly and namespace you want.
0 commit comments