Пример #1
0
 void HandleA3Mp()
 {
     foreach (var a3Mp in Arma2TerrainPacks.Select(m => InputMods
                                                   .FirstOrDefault(x => x.Name.Equals(m, StringComparison.InvariantCultureIgnoreCase)))
              .Where(a3Mp => a3Mp != null))
     {
         OutputMods.AddRange(a3Mp.GetPaths().OfType <IAbsoluteDirectoryPath>());
     }
 }
Пример #2
0
 void HandleA3Mp()
 {
     foreach (var a3Mp in Arma2TerrainPacks.Select(m => InputMods
                                                   .FirstOrDefault(x => x.PackageName.Equals(m, StringComparison.OrdinalIgnoreCase)))
              .Where(a3Mp => a3Mp != null))
     {
         OutputMods.AddRange(GetModPaths(a3Mp));
     }
 }