Skip to content

Commit 1e62fb5

Browse files
authored
Merge pull request #48 from vb2ae/vb2ae-patch-2
Update README.md
2 parents daf32a7 + fe4138f commit 1e62fb5

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
@@ -61,7 +61,7 @@ The line of code below registers vb2ae.ServiceLocator.MSDependencyInjection with
6161

6262
This returns a ServiceImpl
6363

64-
# GetService< T >
64+
# GetService`<T>`
6565

6666
var result = CommonServiceLocator.ServiceLocator.Current.GetInstance<IService>();
6767

@@ -75,7 +75,7 @@ This returns a ServiceImpl
7575

7676
This returns an instance of Cat
7777

78-
# GetInstance< T >(key)
78+
# GetInstance`<T>`(key)
7979

8080
var key = "Dog";
8181
var result = CommonServiceLocator.ServiceLocator.Current.GetInstance<IPet>(key);
@@ -89,7 +89,7 @@ This returns an instance of Dog
8989
9090
This returns a ServiceImpl
9191

92-
# GetInstance< T >
92+
# GetInstance`<T>`
9393

9494
var result = CommonServiceLocator.ServiceLocator.Current.GetInstance<IService>();
9595

@@ -101,7 +101,7 @@ This returns a ServiceImpl
101101

102102
Will return an IEnumerable<object> that contains a Cat and Dog
103103

104-
# GetAllInstances< T >
104+
# GetAllInstances`<T>`
105105

106106
var result = CommonServiceLocator.ServiceLocator.Current.GetAllInstances<ICar>()
107107

0 commit comments

Comments
 (0)