wasSharp – Diff between revs 42 and 52

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 42 Rev 52
Line 13... Line 13...
13   13  
14 namespace wasSharp 14 namespace wasSharp
15 { 15 {
16 public static class IO 16 public static class IO
-   17 {
-   18 ///////////////////////////////////////////////////////////////////////////
-   19 // Copyright (C) 2015 Wizardry and Steamworks - License: GNU GPLv3 //
-   20 ///////////////////////////////////////////////////////////////////////////
-   21 /// <summary>
-   22 /// Combine multiple paths.
-   23 /// </summary>
-   24 /// <param name="paths">an array of paths</param>
-   25 /// <returns>a combined path</returns>
-   26 public static string PathCombine(params string[] paths)
-   27 {
-   28 return paths.Aggregate((x, y) => Path.Combine(x, y));
-   29 }
17 { 30  
18 /// <summary> 31 /// <summary>
19 /// Strip characters that are incompatible with file names. 32 /// Strip characters that are incompatible with file names.
20 /// </summary> 33 /// </summary>
21 /// <param name="fileName">the name of the file</param> 34 /// <param name="fileName">the name of the file</param>