C# 클래스 cloudscribe.Web.Navigation.Caching.MemoryTreeCache

상속: ITreeCache
파일 보기 프로젝트 열기: joeaudette/cloudscribe.Web.Navigation

공개 메소드들

메소드 설명
AddToCache ( TreeNode tree, string cacheKey ) : void
GetTree ( string cacheKey ) : Task>
MemoryTreeCache ( IMemoryCache cache, IOptions optionsAccessor = null ) : Microsoft.Extensions.Caching.Memory

메소드 상세

AddToCache() 공개 메소드

public AddToCache ( TreeNode tree, string cacheKey ) : void
tree TreeNode
cacheKey string
리턴 void

GetTree() 공개 메소드

public GetTree ( string cacheKey ) : Task>
cacheKey string
리턴 Task>

MemoryTreeCache() 공개 메소드

public MemoryTreeCache ( IMemoryCache cache, IOptions optionsAccessor = null ) : Microsoft.Extensions.Caching.Memory
cache IMemoryCache
optionsAccessor IOptions
리턴 Microsoft.Extensions.Caching.Memory