Skip to content

Commit b8df8fa

Browse files
committed
Update README.md
1 parent c1d2aa5 commit b8df8fa

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,19 @@ public class ServiceTag : IServiceTag
203203
}
204204
```
205205

206+
Tags can be passed to register methods
207+
208+
```c#
209+
public static class ServiceRegistration
210+
{
211+
[RegisterServices]
212+
public static void Register(IServiceCollection services, ISet<string> tags)
213+
{
214+
215+
}
216+
}
217+
```
218+
206219
Specify tags when adding to service collection. Note, if no tags specified, all services are registered
207220

208221
```c#

0 commit comments

Comments
 (0)