mirror of
https://github.com/Biarity/Sieve.git
synced 2024-11-22 05:22:57 +01:00
Update README.md
This commit is contained in:
parent
cf9cb4160c
commit
af3da58ce1
@ -65,8 +65,8 @@ If you want to add custom sort/filter methods, inject `ISieveCustomSortMethods`
|
|||||||
|
|
||||||
For instance:
|
For instance:
|
||||||
```
|
```
|
||||||
services.AddScoped<SieveCustomSortMethods>();
|
services.AddScoped<ISieveCustomSortMethods, SieveCustomSortMethods>();
|
||||||
services.AddScoped<SieveCustomFilterMethods>();
|
services.AddScoped<ISieveCustomFilterMethods, SieveCustomFilterMethods>();
|
||||||
```
|
```
|
||||||
Where `SieveCustomSortMethodsOfPosts` for example is:
|
Where `SieveCustomSortMethodsOfPosts` for example is:
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user