Пример #1
0
        /// <inheritdoc/>
        public void RegisterHistoryModule(Type historyModuleType, IAtomicItemManager historyManager)
        {
            if (this.historyModuleType != null)
            {
                throw new Base.Exceptions.ArgumentException($"History module was defined. Defined hisory module: {this.historyModuleType.Name}");
            }

            this.historyModuleType = historyModuleType;
        }
Пример #2
0
 /// <inheritdoc/>
 private void CreateItemManager() => itemManager = (IAtomicItemManager)Activator.CreateInstance(itemManagerType, dbAccess, ModuleItemType, ModuleName);