Skip to content

Update README.md

Update README.md #60

Triggered via push May 7, 2025 05:18
Status Success
Total duration 2m 15s
Artifacts

dotnet.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: CacheManagerApi/Config/ApiConfig.cs#L12
Change the type of property 'ApiConfig.Url' from 'string' to 'System.Uri' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1056)
build: CacheManagerApi/Config/ApiType.cs#L6
Add a member to ApiType that has a value of zero with a suggested name of 'None' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1008)
build: CacheManager.SqlServer/CacheSource/SqlServerDbCacheSourceWithGetWithSetAndClear.cs#L123
Change SqlServerDbCacheSourceWithGetAndSetAndClear.DisposeAsync() to call GC.SuppressFinalize(object). This will prevent derived types that introduce a finalizer from needing to re-implement 'IDisposable' to call it. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1816)
build: CacheManager.SqlServer/CacheSource/SqlServerDbCacheSourceWithGet.cs#L61
Change SqlServerDbCacheSourceWithGet.DisposeAsync() to call GC.SuppressFinalize(object). This will prevent derived types that introduce a finalizer from needing to re-implement 'IDisposable' to call it. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1816)
build: CacheManager.SqlServer/SqlServerDbCacheBuilder.cs#L35
Call System.IDisposable.Dispose on object created by 'new SqlServerDbCacheSourceWithGet(dbConfig, priority)' before all references to it are out of scope (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000)
build: CacheManager.SqlServer/SqlServerDbCacheBuilder.cs#L64
Call System.IDisposable.Dispose on object created by 'new SqlServerDbCacheSourceWithGetAndSetAndClear(dbConfig, priority)' before all references to it are out of scope (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000)
build: CacheManagerClear/CacheManagerClearBuilder.cs#L13
Member 'BuildPublisher' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
build: CacheManagerClear/CacheManagerClearBuilder.cs#L32
Member 'BuildSubscriber' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
build: CacheManagerApi/Config/ApiConfig.cs#L14
Non-nullable property 'Url' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: CacheManager/EasyCacheManager.cs#L52
Cache a 'CompositeFormat' for repeated use in this formatting operation (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1863)