C# Class cloudscribe.Web.Navigation.Caching.DistributedTreeCache

Inheritance: ITreeCache
Mostra file Open project: joeaudette/cloudscribe.Web.Navigation

Public Methods

Method Description
AddToCache ( TreeNode tree, string cacheKey ) : void
DistributedTreeCache ( IDistributedCache cache, IOptions optionsAccessor = null ) : Microsoft.Extensions.Caching.Distributed
GetTree ( string cacheKey ) : Task>

Method Details

AddToCache() public method

public AddToCache ( TreeNode tree, string cacheKey ) : void
tree TreeNode
cacheKey string
return void

DistributedTreeCache() public method

public DistributedTreeCache ( IDistributedCache cache, IOptions optionsAccessor = null ) : Microsoft.Extensions.Caching.Distributed
cache IDistributedCache
optionsAccessor IOptions
return Microsoft.Extensions.Caching.Distributed

GetTree() public method

public GetTree ( string cacheKey ) : Task>
cacheKey string
return Task>