コード例 #1
0
 private void ResetSpecificFilesSelections(IGameFileDataSource[] selectedFiles)
 {
     foreach (IGameFileDataSource source in selectedFiles)
     {
         if (this.SpecificFiles == null)
         {
             this.SpecificFiles = SpecificFilesForm.GetSupportedFiles(this.GameFileDirectory.GetFullPath(), this.GameFile, this.GetSupportedExtensions());
         }
         this.SpecificFiles = this.SpecificFiles.Union <string>(SpecificFilesForm.GetSupportedFiles(this.GameFileDirectory.GetFullPath(), source, this.GetSupportedExtensions())).ToArray <string>();
     }
 }
コード例 #2
0
 private string[] GetSupportedFiles(IGameFile gameFile)
 {
     return(SpecificFilesForm.GetSupportedFiles(m_appConfig.GameFileDirectory.GetFullPath(), gameFile, SourcePort.GetSupportedExtensions(SelectedSourcePort)));
 }