Class FakeCacheService
Represents a fake implementation of CacheService that also implements the ICacheService interface, typically used for testing or stubbing scenarios.
public class FakeCacheService : CacheService, ICacheService
- Inheritance
-
FakeCacheService
- Implements
- Inherited Members
- Extension Methods
Remarks
This class combines inheritance from the concrete CacheService base class with the ICacheService contract, allowing it to be used wherever an ICacheService is required.
Constructors
FakeCacheService()
public FakeCacheService()
Properties
LastKey
public string? LastKey { get; }
Property Value
WasCalled
public bool WasCalled { get; }