C# Класс Kooboo.Commerce.Multilingual.Storage.CachedTranslactionStore

Наследование: ITranslationStore
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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