Exemplo n.º 1
0
 public ServiceSearchListItemTranslator(IResolveManager resolveManager, ITranslationPrimitives translationPrimitives,
                                        ILanguageCache languageCache, ILanguageOrderCache languageOrderCache)
     : base(resolveManager, translationPrimitives)
 {
     this.languageCache      = languageCache;
     this.languageOrderCache = languageOrderCache;
 }
Exemplo n.º 2
0
 public CacheManager(ILanguageCache languageCache, IPublishingStatusCache publishingStatusCache, ITypesCache typesCache, ILanguageOrderCache languageOrderCache)
 {
     this.languageCache         = languageCache;
     this.publishingStatusCache = publishingStatusCache;
     this.typesCache            = typesCache;
     this.languageOrderCache    = languageOrderCache;
 }
Exemplo n.º 3
0
 public EntityHeaderTranslator(IResolveManager resolveManager,
                               ITranslationPrimitives translationPrimitives,
                               ICacheManager cacheManager) : base(resolveManager, translationPrimitives)
 {
     languageCache      = cacheManager.LanguageCache;
     languageOrderCache = cacheManager.LanguageOrderCache;
     typesCache         = cacheManager.TypesCache;
 }
Exemplo n.º 4
0
 public ITranslationDefinitions <TIn, TOut> AddLanguageAvailabilitiesDefinition <TIn, TOut, TLanguagesAvailability>(ITranslationDefinitions <TIn, TOut> definition, ILanguageOrderCache orderCache) where TIn : IMultilanguagedEntity <TLanguagesAvailability> where TOut : ILanguagesAvailabilities where TLanguagesAvailability : LanguageAvailability
 {
     return(definition.AddCollection <ILanguageAvailability, VmLanguageAvailabilityInfo>(
                i => i.LanguageAvailabilities.OrderBy(x => orderCache.Get(x.LanguageId)),
                o => o.LanguagesAvailabilities));
 }
Exemplo n.º 5
0
 public NamesTranslationTranslator(IResolveManager resolveManager, ITranslationPrimitives translationPrimitives, ILanguageOrderCache orderCache) : base(resolveManager, translationPrimitives)
 {
     this.orderCache = orderCache;
 }
Exemplo n.º 6
0
 public FintoBaseTreeTranslator(IResolveManager resolveManager, ITranslationPrimitives translationPrimitives, ICacheManager cacheManager) : base(resolveManager, translationPrimitives)
 {
     languageCache = cacheManager.LanguageCache;
     orderCache    = cacheManager.LanguageOrderCache;
 }
Exemplo n.º 7
0
 public ChannelListItemTranslator(IResolveManager resolveManager, ITranslationPrimitives translationPrimitives, ITypesCache typesCache, ILanguageOrderCache languageOrderCache) : base(resolveManager, translationPrimitives)
 {
     this.typesCache         = typesCache;
     this.languageOrderCache = languageOrderCache;
 }
Exemplo n.º 8
0
 public GeneralDescriptionSearchListItemTranslator(IResolveManager resolveManager, ITranslationPrimitives translationPrimitives, ILanguageOrderCache languageOrderCache)
     : base(resolveManager, translationPrimitives)
 {
     this.languageOrderCache = languageOrderCache;
 }
Exemplo n.º 9
0
 public OrganizationSimpleListTranslator(IResolveManager resolveManager, ITranslationPrimitives translationPrimitives, ICacheManager cacheManager) : base(resolveManager, translationPrimitives)
 {
     this.languageOrderCache = cacheManager.LanguageOrderCache;
     this.typesCache         = cacheManager.TypesCache;
 }
Exemplo n.º 10
0
 public OrganizationTreeItemTranslator(IResolveManager resolveManager, ITranslationPrimitives translationPrimitives, ILanguageOrderCache languageOrderCache) : base(resolveManager, translationPrimitives)
 {
     this.languageOrderCache = languageOrderCache;
 }