C# Class MyTested.AspNetCore.Mvc.Internal.Caching.MemoryCacheMock

Inheritance: IMemoryCacheMock
Show file Open project: ivaylokenov/MyTested.AspNetCore.Mvc

Public Methods

Method Description
CreateEntry ( object key ) : ICacheEntry
Dispose ( ) : void
GetCacheAsDictionary ( ) : object>.IDictionary
MemoryCacheMock ( ) : System.Linq
Remove ( object key ) : void
TryGetCacheEntry ( object key, ICacheEntry &value ) : bool
TryGetValue ( object key, object &value ) : bool

Private Methods

Method Description
GetCurrentCache ( ) : ICacheEntry>.IDictionary

Method Details

CreateEntry() public method

public CreateEntry ( object key ) : ICacheEntry
key object
return ICacheEntry

Dispose() public method

public Dispose ( ) : void
return void

GetCacheAsDictionary() public method

public GetCacheAsDictionary ( ) : object>.IDictionary
return object>.IDictionary

MemoryCacheMock() public method

public MemoryCacheMock ( ) : System.Linq
return System.Linq

Remove() public method

public Remove ( object key ) : void
key object
return void

TryGetCacheEntry() public method

public TryGetCacheEntry ( object key, ICacheEntry &value ) : bool
key object
value ICacheEntry
return bool

TryGetValue() public method

public TryGetValue ( object key, object &value ) : bool
key object
value object
return bool