C# 클래스 Rebel.Framework.ThreadStaticScopedCache

상속: AbstractScopedCache
파일 보기 프로젝트 열기: RebelCMS/rebelcmsxu5

공개 메소드들

메소드 설명
AddOrChange ( string key, object>.Func factory ) : void
GetOrCreate ( string key, Func callback ) : object
InvalidateItems ( string pattern ) : int

Removes any item from the cache that match the regex pattern

ScopeComplete ( ) : void

메소드 상세

AddOrChange() 공개 메소드

public AddOrChange ( string key, object>.Func factory ) : void
key string
factory object>.Func
리턴 void

GetOrCreate() 공개 메소드

public GetOrCreate ( string key, Func callback ) : object
key string
callback Func
리턴 object

InvalidateItems() 공개 메소드

Removes any item from the cache that match the regex pattern
public InvalidateItems ( string pattern ) : int
pattern string
리턴 int

ScopeComplete() 공개 메소드

public ScopeComplete ( ) : void
리턴 void