public DictionaryCache(DictionarySettings settings) : base("Vohil.Dictionary.Cache", Settings.Caching.DefaultDataCacheSize) { Event.Subscribe("publish:end", this.OnPublishEnd); Event.Subscribe("publish:end:remote", this.OnPublishEnd); this._settings = settings; }
public DictionaryItemRepository( DictionarySettings settings, IMessageBus <DictionaryMessageBus> messageBus, BaseLog logger) { this.settings = settings; this.messageBus = messageBus; this.logger = logger; }
public DictionaryService( DictionaryItemRepository repository, DictionarySettings setting, DictionaryCache cache, BaseLog logger) { this.repository = repository; this.setting = setting; this.cache = cache; this.logger = logger; }
public DictionaryCache(string cacheName, string cacheSize, DictionarySettings settings) : base(cacheName, StringUtil.ParseSizeString(cacheSize)) { this._settings = settings; }