Exemple #1
0
        public ModulesManager(ModulesProvider provider)
        {
            if (provider == null)
                throw new ArgumentNullException(nameof(provider));

            this.provider = provider;

            Modules = provider.Modules.ToDictionary(k => k.Name);
        }
Exemple #2
0
        public ModulesManager(ModulesProvider provider)
        {
            if (provider == null)
            {
                throw new ArgumentNullException(nameof(provider));
            }

            this.provider = provider;

            Modules = provider.Modules.ToDictionary(k => k.Name);
        }