public void RegisterDependencyRegistration(IConfigurationRoot configurationRoot) { DependencyRegistration.AddRange(Plugin.Where(x => x.DependencyRegistration != null) .Select(x => (DependencyRegistration)Activator.CreateInstance(x.DependencyRegistration, configurationRoot))); }