diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md new file mode 100644 index 0000000..51cb027 --- /dev/null +++ b/CONTRIBUTORS.md @@ -0,0 +1,12 @@ +# Contributors + +Thank you to all the contributors who have helped improve this project! + +## List of Contributors + +- [@mhkarami97](https://github.com/mhkarami97) +- [@all4ehsan](https://github.com/all4ehsan) + +## How to Contribute + +If you'd like to contribute to this project, feel free to fork the repository and submit a pull request! diff --git a/CacheManager.sln b/CacheManager.sln index 1bc529e..dc87cea 100644 --- a/CacheManager.sln +++ b/CacheManager.sln @@ -29,6 +29,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution", "Solution", "{FD .github\workflows\greetings.yml = .github\workflows\greetings.yml .github\workflows\label.yml = .github\workflows\label.yml .github\workflows\stale.yml = .github\workflows\stale.yml + CONTRIBUTORS.md = CONTRIBUTORS.md EndProjectSection EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CacheManagerUnitTest", "CacheManagerUnitTest\CacheManagerUnitTest.csproj", "{11A397C0-ECD3-4734-B5F5-E80037190D6D}" diff --git a/README.md b/README.md index bf24189..726a215 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ First install package: then you can use like this: ```csharp -var easyCacheManager = new CacheBuilder() +var easyCacheManager = new CacheBuilder() .AddApi(new ApiConfig { Url = StaticData.Api @@ -26,7 +26,7 @@ var easyCacheManager = new CacheBuilder() .AddMemory(new MemoryConfig()) .Build(new LockConfig()); -var result = await easyCacheManager.GetAsync("My-Key"); +var result = await easyCacheManager.GetAsync("My-Key"); ``` You can create your own provider with these interfaces: @@ -60,5 +60,13 @@ Priority should be unique, you can't crate EasyCacheManager with list of provide With `ClearCacheAsync` method you can clear specific key on all providers that implement `ICacheSourceWithClear` or `ICacheSourceWithSetAndClear` ### Set -With `SetAsync` you can manually set value to provides that that implement `ICacheSourceWithSet` or `ICacheSourceWithSetAndClear` +With `SetAsync` you can manually set value to provides that that implement `ICacheSourceWithSet` or `ICacheSourceWithSetAndClear` + + +## Contributors + +The following contributors have made this project better: + +[See the full list of contributors](./CONTRIBUTORS.md) +