Пример #1
0
        public static PluginConfiguration GetConfiguration(DirectoryInfo dir)
        {
            var read = PluginConfiguration.ReadXml(GetStartupFileConfig(dir));

            return(read);
        }
Пример #2
0
 internal void SetDirectoryInfo(DirectoryInfo directoryInfo)
 {
     _directory = directoryInfo;
     SetDiskManifest(PluginManagement.GetManifestMetadata(directoryInfo));
     Startup = PluginManagement.GetConfiguration(directoryInfo) ?? new PluginConfiguration();
 }