public void UpdateVM(string isin, FORTS_VM_REPL.fut_vm vm) { ExecuteWindowsUpdate( new Action(() => { //for catch noisy error ! try { VM.UpdateWithId(new VMInst(isin, vm)); } catch (Exception e) { Error("UpdateVM", e); } } )); }
public VMInst(string isin, FORTS_VM_REPL.fut_vm inp) { Id = isin; Vm = inp.vm; }