- Timestamp:
- 01/12/16 17:15:11 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Clients.OKB/3.3/RunCreation/RunCreationClient.cs
r12012 r13503 61 61 algorithms.AddRange(CallRunCreationService<List<Algorithm>>(s => s.GetAlgorithms("HeuristicLab 3.3"))); 62 62 problems.AddRange(CallRunCreationService<List<Problem>>(s => s.GetProblems("HeuristicLab 3.3"))); 63 } 64 finally { 63 } finally { 65 64 OnRefreshed(); 66 65 } … … 70 69 try { 71 70 Refresh(); 72 } 73 catch (Exception ex) { 71 } catch (Exception ex) { 74 72 return ex; 75 73 } … … 101 99 #endregion 102 100 101 #region Characteristic Methods 102 public static void SetCharacteristicValue(long problemId, string characteristicName, Value v) { 103 CallRunCreationService(s => s.SetCharacteristicValue(problemId, characteristicName, v)); 104 } 105 #endregion 106 103 107 #region Events 104 108 public event EventHandler Refreshing; … … 119 123 try { 120 124 call(client); 121 } 122 finally { 125 } finally { 123 126 try { 124 127 client.Close(); 125 } 126 catch (Exception) { 128 } catch (Exception) { 127 129 client.Abort(); 128 130 } … … 133 135 try { 134 136 return call(client); 135 } 136 finally { 137 } finally { 137 138 try { 138 139 client.Close(); 139 } 140 catch (Exception) { 140 } catch (Exception) { 141 141 client.Abort(); 142 142 }
Note: See TracChangeset
for help on using the changeset viewer.