예제 #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();
 }
예제 #2
0
 internal void SetDirectoryInfo(DirectoryInfo directoryInfo)
 {
     _directory = directoryInfo;
     SetDiskManifest(PluginManagement.GetManifestMetadata(directoryInfo));
     Startup = PluginManagement.GetConfiguration(directoryInfo) ?? new PluginConfiguration();
 }