internal void Initialize(ITranslationStore translationStore) { this._translationStore = translationStore; Configure(); this.TranslationProfileState = TranslationProfileState.Initialized; this.IsInitialized = true; }
public CategoryController(IRepository <Category> repository) { _repository = repository; _translationStore = TranslationStores.Get(CurrentInstance.Name); }
public BrandController(BrandService brandService) { _brandService = brandService; _translationStore = TranslationStores.Get(CurrentInstance.Name); }
public CategoryController(IRepository<Category> repository) { _repository = repository; _translationStore = TranslationStores.Get(CurrentInstance.Name); }
public CachedTranslactionStore(ITranslationStore underlyingStore, IEnumerable<Type> typesToCache) { _underlyingStore = underlyingStore; _typesToCache = new HashSet<Type>(typesToCache); }
public CachedTranslactionStore(ITranslationStore underlyingStore) : this(underlyingStore, new[] { typeof(Brand), typeof(Category), typeof(ProductType) }) { }
public static void Register(string instance, ITranslationStore store) { Remove(instance); _storesByInstance.Add(instance, store); }
public ProductController() { _translationStore = TranslationStores.Get(CurrentInstance.Name); }
public ProductTypeController(IRepository <ProductType> repository) { _repository = repository; _translationStore = TranslationStores.Get(CurrentInstance.Name); }
public CachedTranslactionStore(ITranslationStore underlyingStore, IEnumerable <Type> typesToCache) { _underlyingStore = underlyingStore; _typesToCache = new HashSet <Type>(typesToCache); }
public ProductTypeController(IRepository<ProductType> repository) { _repository = repository; _translationStore = TranslationStores.Get(CurrentInstance.Name); }