(string filename, Paths64 sub, Paths64 clp)
| 30 | } |
| 31 | |
| 32 | public static bool SaveBackup(string filename, Paths64 sub, Paths64 clp) |
| 33 | { |
| 34 | StreamWriter writer; |
| 35 | try |
| 36 | { writer = new StreamWriter(filename, false); } |
| 37 | catch { return false; } |
| 38 | |
| 39 | foreach (Point64 pt in sub[0]) |
| 40 | writer.Write("{0},{1} ", pt.X, pt.Y); |
| 41 | writer.Write("\r\n"); |
| 42 | foreach (Point64 pt in clp[0]) |
| 43 | writer.Write("{0},{1} ", pt.X, pt.Y); |
| 44 | writer.Write("\r\n"); |
| 45 | writer.Close(); |
| 46 | return true; |
| 47 | } |
| 48 | |
| 49 | public static bool RestoreBackup(string filename, out Paths64 sub, out Paths64 clp) |
| 50 | { |
nothing calls this directly
no outgoing calls
no test coverage detected