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