- Timestamp:
- 04/21/16 16:48:34 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Hubs/CalendarHub.cs
r13775 r13782 47 47 var down = JsonConvert.SerializeObject(adminClient.Downtimes); 48 48 Clients.Caller.processDowntime(id, down); 49 } 50 public void toggleDisposable(string id) 51 { 52 loader(); 53 adminClient.Refresh(); 54 Guid c = Guid.Parse(id); 55 var obj = adminClient.Resources.ToList().Find(x => x.Id == c); 56 ((Slave)(obj)).IsDisposable = !((Slave)(obj)).IsDisposable; 57 adminClient.Store(obj, CancellationToken.None); 58 Clients.Caller.processDispose( ((Slave)(obj)).IsDisposable); 59 49 60 } 50 61 public void saveCalendar(string id, string[] del, string[][] add, string[][] upd, bool fresh, bool last)
Note: See TracChangeset
for help on using the changeset viewer.