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

            this.provider = provider;

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

            this.provider = provider;

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