Skip to content

Commit 46db246

Browse files
authored
Merge pull request #11 from ManticSic/readme
Add syntax highllighting
2 parents c451e81 + 0f70a1b commit 46db246

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ You can register instances to an unity container using `UnityContainerAttributeR
4040
Classes marked with `UnityContainerAttributeRegistration.Attribute.RegisterProviderAttribute` will be instantiated using the container which should be populated with the instances.
4141
So you can use already registered services to create the instances, which should be later registered.
4242

43-
```
43+
```cs
4444
namespace My.Awesome.App
4545
{
4646
public class Program
@@ -70,7 +70,7 @@ So you can use already registered services to create the instances, which should
7070

7171
Its only important to have the right parameters (see example).
7272

73-
```
73+
```cs
7474
namespace My.Awesome.App
7575
{
7676
public class Program
@@ -104,7 +104,7 @@ namespace My.Awesome.App
104104

105105
It is possible to populate a already created container.
106106

107-
```
107+
```cs
108108
namespace My.Awesome.App
109109
{
110110
public class Program
@@ -123,7 +123,7 @@ namespace My.Awesome.App
123123

124124
You can restrict the assemblies to check, e. g. to create a container only containing registrations of one assembly.
125125

126-
```
126+
```cs
127127
namespace My.Awesome.App
128128
{
129129
public class Program

0 commit comments

Comments
 (0)