Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
thepirat000 authored Sep 3, 2024
1 parent a84b559 commit f468e8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ If you're using a DI container, you can register the `IAuditScopeFactory` as a s
The default implementation of `IAuditScopeFactory` is provided by the `AuditScopeFactory` class.

```c#
services.AddSingleton<IAuditScopeFactory, AuditScopeFactory>();
services.AddScoped<IAuditScopeFactory, AuditScopeFactory>();
```

Then you can inject the IAuditScopeFactory into your classes to create audit scopes:
Expand Down

0 comments on commit f468e8b

Please sign in to comment.