public OpenModStartup(IOpenModStartupContext openModStartupContext) { Context = openModStartupContext; m_NuGetPackageManager = ((OpenModStartupContext)openModStartupContext).NuGetPackageManager; m_Logger = openModStartupContext.LoggerFactory.CreateLogger <OpenModStartup>(); m_Runtime = openModStartupContext.Runtime; m_Assemblies = new List <Assembly>(); m_ServiceRegistrations = new List <ServiceRegistration>(); m_RegisteredAssemblies = new HashSet <AssemblyName>(); m_PluginAssemblyStore = new PluginAssemblyStore(openModStartupContext.LoggerFactory.CreateLogger <PluginAssemblyStore>()); m_PluginAssembliesSources = new List <IPluginAssembliesSource>(); }