Skip to content

Commit a64aea5

Browse files
Update README.md
1 parent 373b0b7 commit a64aea5

14 files changed

Lines changed: 355 additions & 356 deletions

AI_CONTEXT_LARGE.md

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -8993,7 +8993,7 @@ interface IDependency;
89938993

89948994
<details><summary>GenericTypeArgumentAttribute</summary><blockquote>
89958995

8996-
Represents a generic type argument attribute. It allows you to create custom generic type argument such as _TTS_, _TTDictionary`2_, etc.
8996+
Represents a generic type argument attribute. It allows you to create custom generic type argument such as _TTS_, _TTDictionary`2_, etc.
89978997

89988998
```c#
89998999

@@ -9012,7 +9012,7 @@ See also _GenericTypeArgument``1_.
90129012

90139013
<details><summary>Hint</summary><blockquote>
90149014

9015-
Hints for the code generator and can be used to fine tune code generation.
9015+
Hints for the code generator and can be used to fine-tune code generation.
90169016

90179017
```c#
90189018

@@ -9299,7 +9299,7 @@ See also _Hint(Pure.DI.Hint,System.String)_.
92999299

93009300
<details><summary>Field OnDependencyInjection</summary><blockquote>
93019301

9302-
`On` or `Off` . Determines whether to use partial `OnDependencyInjection` method to control of dependency injection. `Off` by default.
9302+
`On` or `Off` . Determines whether to use partial `OnDependencyInjection` method to control of a dependency injection. `Off` by default.
93039303

93049304
```c#
93059305

@@ -9937,7 +9937,7 @@ See also _Hint(Pure.DI.Hint,System.String)_.
99379937

99389938
<details><summary>Field ResolveMethodModifiers</summary><blockquote>
99399939

9940-
Overrides modifiers of the method `public T Resolve<T>()` . "public" by default.
9940+
Overrides modifiers of the method `public T Resolve<T>()` . "Public" by default.
99419941

99429942
```c#
99439943

@@ -10422,7 +10422,7 @@ See also _As(Pure.DI.Lifetime)_.
1042210422
<details><summary>Method Bind``2(System.Object[])</summary><blockquote>
1042310423

1042410424
Begins binding definition for multiple dependencies. See _Bind``1(System.Object[])_ for examples.
10425-
The type 1 of dependency to be bound.The type 2 of dependency to be bound.
10425+
Type 1 of a dependency to be bound.Type 2 of a dependency to be bound.
1042610426
- parameter _tags_ - The optional argument that specifies tags for a particular type of dependency binding.
1042710427

1042810428
- returns Reference to the setup continuation chain.
@@ -10445,7 +10445,7 @@ See also _As(Pure.DI.Lifetime)_.
1044510445
<details><summary>Method Bind``3(System.Object[])</summary><blockquote>
1044610446

1044710447
Begins binding definition for multiple dependencies. See _Bind``1(System.Object[])_ for examples.
10448-
The type 1 of dependency to be bound.The type 2 of dependency to be bound.The type 3 of dependency to be bound.
10448+
Type 1 of a dependency to be bound.Type 2 of a dependency to be bound.Type 3 of a dependency to be bound.
1044910449
- parameter _tags_ - The optional argument that specifies tags for a particular type of dependency binding.
1045010450

1045110451
- returns Reference to the setup continuation chain.
@@ -10468,8 +10468,8 @@ See also _As(Pure.DI.Lifetime)_.
1046810468
<details><summary>Method Bind``4(System.Object[])</summary><blockquote>
1046910469

1047010470
Begins binding definition for multiple dependencies. See _Bind``1(System.Object[])_ for examples.
10471-
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 3 of dependency to be bound.
10472-
- parameter _tags_ - The optional argument that specifies tags for a particular type of dependency binding.
10471+
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 3 of a dependency to be bound.
10472+
- parameter _tags_ - The optional argument that specifies tags for a particular type of a dependency binding.
1047310473

1047410474
- returns Reference to the setup continuation chain.
1047510475

@@ -10916,7 +10916,7 @@ See also _As(Pure.DI.Lifetime)_.
1091610916
<details><summary>Method Bind``2(System.Object[])</summary><blockquote>
1091710917

1091810918
Begins binding definition for multiple dependencies. See _Bind``1(System.Object[])_ for examples.
10919-
The type 1 of dependency to be bound.The type 2 of dependency to be bound.
10919+
Type 1 of a dependency to be bound.Type 2 of a dependency to be bound.
1092010920
- parameter _tags_ - The optional argument that specifies tags for a particular type of dependency binding.
1092110921

1092210922
- returns Reference to the setup continuation chain.
@@ -10939,7 +10939,7 @@ See also _As(Pure.DI.Lifetime)_.
1093910939
<details><summary>Method Bind``3(System.Object[])</summary><blockquote>
1094010940

1094110941
Begins binding definition for multiple dependencies. See _Bind``1(System.Object[])_ for examples.
10942-
The type 1 of dependency to be bound.The type 2 of dependency to be bound.The type 3 of dependency to be bound.
10942+
Type 1 of a dependency to be bound.Type 2 of a dependency to be bound.Type 3 of a dependency to be bound.
1094310943
- parameter _tags_ - The optional argument that specifies tags for a particular type of dependency binding.
1094410944

1094510945
- returns Reference to the setup continuation chain.
@@ -10962,7 +10962,7 @@ See also _As(Pure.DI.Lifetime)_.
1096210962
<details><summary>Method Bind``4(System.Object[])</summary><blockquote>
1096310963

1096410964
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.
1096610966
- parameter _tags_ - The optional argument that specifies tags for a particular type of dependency binding.
1096710967

1096810968
- returns Reference to the setup continuation chain.
@@ -11000,7 +11000,7 @@ The type of dependency to be bound.
1100011000

1100111001
- parameter _kind_ - The optional argument specifying the kind for the root of the composition.
1100211002

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.
1100411004

1100511005
- returns Reference to the setup continuation chain.
1100611006

@@ -11411,7 +11411,7 @@ DI.Setup("Composition")
1141111411

1141211412

1141311413
- 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 .
1141511415
- returns Reference to the setup continuation chain.
1141611416

1141711417
See also _Lifetime_.
@@ -11659,7 +11659,7 @@ DI.Setup("Composition")
1165911659
```
1166011660

1166111661

11662-
This is the default lifetime, it can be omitted, for example:
11662+
This is the default lifetime, it can be omitted, for example,
1166311663
1166411664
```c#
1166511665

@@ -11704,7 +11704,7 @@ DI.Setup("Composition")
1170411704

1170511705
<details><summary>Field PerBlock</summary><blockquote>
1170611706

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 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.
1170811708

1170911709
```c#
1171011710

@@ -11737,7 +11737,7 @@ DI.Setup("Composition")
1173711737

1173811738
<details><summary>Name</summary><blockquote>
1173911739

11740-
Represents well known names.
11740+
Represents well-known names.
1174111741

1174211742
</blockquote></details>
1174311743

@@ -11977,7 +11977,7 @@ Specifies to use a `override` modifier for the root of the composition.
1197711977

1197811978
<details><summary>Tag</summary><blockquote>
1197911979

11980-
Represents well known tags.
11980+
Represents well-known tags.
1198111981

1198211982
See also _Bind``1(System.Object[])_.
1198311983

@@ -12003,7 +12003,7 @@ DI.Setup("Composition")
1200312003

1200412004
<details><summary>Field Type</summary><blockquote>
1200512005

12006-
Tag of target implementation type.
12006+
Tag of a target implementation type.
1200712007

1200812008
```c#
1200912009

@@ -12032,7 +12032,7 @@ DI.Setup("Composition")
1203212032
```
1203312033

1203412034

12035-
- 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.
1203612036

1203712037
</blockquote></details>
1203812038

@@ -12059,7 +12059,7 @@ DI.Setup("Composition")
1205912059

1206012060
<details><summary>Method OnMember``1(System.String)</summary><blockquote>
1206112061

12062-
This tag allows you to define which binding will be used for explicit injection for property or field of the type.
12062+
This tag allows you to define which binding will be used for explicit injection for a property or field of the type.
1206312063

1206412064
```c#
1206512065

@@ -12099,75 +12099,75 @@ DI.Setup("Composition")
1209912099
</blockquote></details>
1210012100

1210112101

12102-
<details><summary>Field UniqueTag</summary><blockquote>
12102+
<details><summary>Field Overrider</summary><blockquote>
1210312103

12104-
Atomically generated smart tag with value "UniqueTag".
12104+
Atomically generated smart tag with value "Overrider".
1210512105
It's used for:
1210612106

12107-
class _Generator__ApiInvocationProcessor_ <-- (UniqueTag) -- _IdGenerator_ as _PerResolve__BindingBuilder_ <-- _IIdGenerator_(UniqueTag) -- _IdGenerator_ as _PerResolve_
12107+
class _Generator__DependencyGraphBuilder_ <-- _IGraphRewriter_(Overrider) -- _GraphOverrider_ as _PerBlock_
1210812108
</blockquote></details>
1210912109

1211012110

12111-
<details><summary>Field GenericType</summary><blockquote>
12111+
<details><summary>Field Cleaner</summary><blockquote>
1211212112

12113-
Atomically generated smart tag with value "GenericType".
12113+
Atomically generated smart tag with value "Cleaner".
1211412114
It's used for:
1211512115

12116-
class _Generator__TypeResolver_ <-- _IIdGenerator_(GenericType) -- _IdGenerator_ as _PerResolve_
12116+
class _Generator__DependencyGraphBuilder_ <-- _IGraphRewriter_(Cleaner) -- _GraphCleaner_ as _PerBlock_
1211712117
</blockquote></details>
1211812118

1211912119

12120-
<details><summary>Field Overrider</summary><blockquote>
12120+
<details><summary>Field UniqueTag</summary><blockquote>
1212112121

12122-
Atomically generated smart tag with value "Overrider".
12122+
Atomically generated smart tag with value "UniqueTag".
1212312123
It's used for:
1212412124

12125-
class _Generator__DependencyGraphBuilder_ <-- _IGraphRewriter_(Overrider) -- _GraphOverrider_ as _PerBlock_
12125+
class _Generator__ApiInvocationProcessor_ <-- (UniqueTag) -- _IdGenerator_ as _PerResolve__BindingBuilder_ <-- _IIdGenerator_(UniqueTag) -- _IdGenerator_ as _PerResolve_
1212612126
</blockquote></details>
1212712127

1212812128

12129-
<details><summary>Field Override</summary><blockquote>
12129+
<details><summary>Field CompositionClass</summary><blockquote>
1213012130

12131-
Atomically generated smart tag with value "Override".
12131+
Atomically generated smart tag with value "CompositionClass".
1213212132
It's used for:
1213312133

12134-
class _Generator__OverrideIdProvider_ <-- _IIdGenerator_(Override) -- _IdGenerator_ as _PerResolve_
12134+
class _Generator__CodeBuilder_ <-- _IBuilder`2_(CompositionClass) -- _CompositionClassBuilder_ as _PerBlock_
1213512135
</blockquote></details>
1213612136

1213712137

12138-
<details><summary>Field Injection</summary><blockquote>
12138+
<details><summary>Field GenericType</summary><blockquote>
1213912139

12140-
Atomically generated smart tag with value "Injection".
12140+
Atomically generated smart tag with value "GenericType".
1214112141
It's used for:
1214212142

12143-
class _Generator__BuildTools_ <-- _IIdGenerator_(Injection) -- _IdGenerator_ as _PerResolve_
12143+
class _Generator__TypeResolver_ <-- _IIdGenerator_(GenericType) -- _IdGenerator_ as _PerResolve_
1214412144
</blockquote></details>
1214512145

1214612146

12147-
<details><summary>Field CompositionClass</summary><blockquote>
12147+
<details><summary>Field UsingDeclarations</summary><blockquote>
1214812148

12149-
Atomically generated smart tag with value "CompositionClass".
12149+
Atomically generated smart tag with value "UsingDeclarations".
1215012150
It's used for:
1215112151

12152-
class _Generator__CodeBuilder_ <-- _IBuilder`2_(CompositionClass) -- _CompositionClassBuilder_ as _PerBlock_
12152+
class _Generator__CompositionClassBuilder_ <-- _IBuilder`2_(UsingDeclarations) -- _UsingDeclarationsBuilder_ as _PerBlock_
1215312153
</blockquote></details>
1215412154

1215512155

12156-
<details><summary>Field UsingDeclarations</summary><blockquote>
12156+
<details><summary>Field Override</summary><blockquote>
1215712157

12158-
Atomically generated smart tag with value "UsingDeclarations".
12158+
Atomically generated smart tag with value "Override".
1215912159
It's used for:
1216012160

12161-
class _Generator__CompositionClassBuilder_ <-- _IBuilder`2_(UsingDeclarations) -- _UsingDeclarationsBuilder_ as _PerBlock_
12161+
class _Generator__OverrideIdProvider_ <-- _IIdGenerator_(Override) -- _IdGenerator_ as _PerResolve_
1216212162
</blockquote></details>
1216312163

1216412164

12165-
<details><summary>Field Cleaner</summary><blockquote>
12165+
<details><summary>Field Injection</summary><blockquote>
1216612166

12167-
Atomically generated smart tag with value "Cleaner".
12167+
Atomically generated smart tag with value "Injection".
1216812168
It's used for:
1216912169

12170-
class _Generator__DependencyGraphBuilder_ <-- _IGraphRewriter_(Cleaner) -- _GraphCleaner_ as _PerBlock_
12170+
class _Generator__BuildTools_ <-- _IIdGenerator_(Injection) -- _IdGenerator_ as _PerResolve_
1217112171
</blockquote></details>
1217212172

1217312173

@@ -12914,7 +12914,7 @@ Represents the generic type arguments marker for _ISet>T>_.
1291412914

1291512915
<details><summary>TypeAttribute</summary><blockquote>
1291612916

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.
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.
1291812918
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.
1291912919

1292012920
```c#

CONTRIBUTING.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -43,21 +43,21 @@ The entire build logic is a regular [console .NET application](/build). You can
4343

4444
| Commands | Description |
4545
|----------|-------------|
46-
| ai, ai | Generate AI context |
47-
| bm, benchmarks, benchmarks | Run benchmarks |
48-
| c, check, check | Compatibility checks |
49-
| dp, deploy, deploy | Package deployment |
50-
| e, example, example | Create examples |
51-
| g, generator, generator | Build and test the source code generator |
52-
| i, install, install | Install templates |
53-
| l, libs, libs | Build and test libraries |
54-
| p, pack, pack | Create NuGet packages |
55-
| perf, performance, performance | Performance tests |
56-
| pb, publish, publish | Publish the balazor web sssembly example |
57-
| r, readme, readme | Generate README.md |
58-
| t, template, template | Create and deploy templates |
59-
| te, testexamples, testexamples | Test examples |
60-
| u, upgrade, upgrade | Upgrading the internal version of DI to the latest public version |
46+
| ai | Generate AI context |
47+
| bm, benchmarks | Run benchmarks |
48+
| c, check | Compatibility checks |
49+
| dp, deploy | Package deployment |
50+
| e, example | Create examples |
51+
| g, generator | Build and test the source code generator |
52+
| i, install | Install templates |
53+
| l, libs | Build and test libraries |
54+
| p, pack | Create NuGet packages |
55+
| perf, performance | Performance tests |
56+
| pb, publish | Publish the balazor web sssembly example |
57+
| r, readme | Generate README.md |
58+
| t, template | Create and deploy templates |
59+
| te, testexamples | Test examples |
60+
| u, upgrade | Upgrading the internal version of DI to the latest public version |
6161

6262
For example, to build and test the source code generator:
6363

0 commit comments

Comments
 (0)