Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pwelter34 committed Oct 25, 2023
1 parent c1d2aa5 commit b8df8fa
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,19 @@ public class ServiceTag : IServiceTag
}
```

Tags can be passed to register methods

```c#
public static class ServiceRegistration
{
[RegisterServices]
public static void Register(IServiceCollection services, ISet<string> tags)
{

}
}
```

Specify tags when adding to service collection. Note, if no tags specified, all services are registered

```c#
Expand Down

0 comments on commit b8df8fa

Please sign in to comment.