public LanguageOrderCache(ICacheBuilder cacheBuilder) { cacheData = cacheBuilder.BuildCache <Language, Guid, int>(i => i.Id, i => i.OrderNumber ?? int.MaxValue); }
public LanguageCache(ICacheBuilder cacheBuilder) { cacheData = cacheBuilder.BuildCache <Language, string, Guid>(i => i.Code, i => i.Id); }
public PublishingStatusCache(ICacheBuilder cacheBuilder) { cacheData = cacheBuilder.BuildCache <PublishingStatusType, string, Guid>(i => i.Code, i => i.Id); }