C# 클래스 Kooboo.Commerce.Multilingual.Storage.CachedTranslactionStore

상속: ITranslationStore
파일 보기 프로젝트 열기: Kooboo/Ecommerce 1 사용 예제들

공개 메소드들

메소드 설명
AddOrUpdate ( System culture, EntityKey key, IEnumerable propertyTranslations ) : void
CachedTranslactionStore ( ITranslationStore underlyingStore ) : System
CachedTranslactionStore ( ITranslationStore underlyingStore, IEnumerable typesToCache ) : System
Delete ( System culture, EntityKey key ) : void
Find ( System culture, EntityKey key ) : EntityTransaltion
Find ( System culture ) : EntityTransaltion[]
FindOutOfDate ( System culture, Type entityType, int pageIndex, int pageSize ) : Pagination
MarkOutOfDate ( System culture, EntityKey key ) : void
TotalOutOfDate ( System culture, Type entityType ) : int
TotalTranslated ( System culture, Type entityType ) : int

비공개 메소드들

메소드 설명
FindInUnderlyingStore ( CultureInfo culture, EntityKey keys ) : EntityTransaltion[]
IsEmptyTranslation ( EntityTransaltion translation ) : bool
NeedToBeCached ( Type entityType ) : bool
RemoveCache ( CultureInfo culture, EntityKey entityKey ) : void
UpdateCache ( CultureInfo culture, IEnumerable translations ) : void

메소드 상세

AddOrUpdate() 공개 메소드

public AddOrUpdate ( System culture, EntityKey key, IEnumerable propertyTranslations ) : void
culture System
key EntityKey
propertyTranslations IEnumerable
리턴 void

CachedTranslactionStore() 공개 메소드

public CachedTranslactionStore ( ITranslationStore underlyingStore ) : System
underlyingStore ITranslationStore
리턴 System

CachedTranslactionStore() 공개 메소드

public CachedTranslactionStore ( ITranslationStore underlyingStore, IEnumerable typesToCache ) : System
underlyingStore ITranslationStore
typesToCache IEnumerable
리턴 System

Delete() 공개 메소드

public Delete ( System culture, EntityKey key ) : void
culture System
key EntityKey
리턴 void

Find() 공개 메소드

public Find ( System culture, EntityKey key ) : EntityTransaltion
culture System
key EntityKey
리턴 EntityTransaltion

Find() 공개 메소드

public Find ( System culture ) : EntityTransaltion[]
culture System
리턴 EntityTransaltion[]

FindOutOfDate() 공개 메소드

public FindOutOfDate ( System culture, Type entityType, int pageIndex, int pageSize ) : Pagination
culture System
entityType System.Type
pageIndex int
pageSize int
리턴 Pagination

MarkOutOfDate() 공개 메소드

public MarkOutOfDate ( System culture, EntityKey key ) : void
culture System
key EntityKey
리턴 void

TotalOutOfDate() 공개 메소드

public TotalOutOfDate ( System culture, Type entityType ) : int
culture System
entityType System.Type
리턴 int

TotalTranslated() 공개 메소드

public TotalTranslated ( System culture, Type entityType ) : int
culture System
entityType System.Type
리턴 int