/// <summary> /// (Re)Initialize les paths /// </summary> private void InitializePaths() { HeTrace.WriteLine("Paths initialization", 5); // Initialization according to the mode (debug/plugin) if (Global.DebugMode) { // Utilisation de pseudos dossiers _PlatformFolders = ((MvPlatform)PlatformObject).GetAllPlatformFolders(); } else { // Récupération de tous les dossiers + tri _PlatformFolders = PlatformObject.GetAllPlatformFolders() .OrderBy(x => x.MediaType).ToArray(); } // HeTrace.WriteLine($"Dossier de jeu: {PlatformObject.Folder}"); C_Platform tmp = C_Platform.Platform_Maker(PlatformObject, _PlatformFolders); PlatformPaths = tmp; GC.Collect(); }