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
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ You can register instances to an unity container using `UnityContainerAttributeR
40
40
Classes marked with `UnityContainerAttributeRegistration.Attribute.RegisterProviderAttribute` will be instantiated using the container which should be populated with the instances.
41
41
So you can use already registered services to create the instances, which should be later registered.
42
42
43
-
```
43
+
```cs
44
44
namespaceMy.Awesome.App
45
45
{
46
46
publicclassProgram
@@ -70,7 +70,7 @@ So you can use already registered services to create the instances, which should
70
70
71
71
Its only important to have the right parameters (see example).
72
72
73
-
```
73
+
```cs
74
74
namespaceMy.Awesome.App
75
75
{
76
76
publicclassProgram
@@ -104,7 +104,7 @@ namespace My.Awesome.App
104
104
105
105
It is possible to populate a already created container.
106
106
107
-
```
107
+
```cs
108
108
namespaceMy.Awesome.App
109
109
{
110
110
publicclassProgram
@@ -123,7 +123,7 @@ namespace My.Awesome.App
123
123
124
124
You can restrict the assemblies to check, e. g. to create a container only containing registrations of one assembly.
0 commit comments