internal void SetDirectoryInfo(DirectoryInfo directoryInfo) { _directory = directoryInfo; if (directoryInfo != null) { SetDiskManifest(PluginManagement.GetManifestMetadata(directoryInfo)); } else { SetDiskManifest(null); } Config = PluginManagement.GetConfiguration(directoryInfo) ?? new PluginConfiguration(); }
internal void SetDirectoryInfo(DirectoryInfo directoryInfo) { _directory = directoryInfo; SetDiskManifest(PluginManagement.GetManifestMetadata(directoryInfo)); Startup = PluginManagement.GetConfiguration(directoryInfo) ?? new PluginConfiguration(); }