public AddGetter ( IEnumerable |
||
names | IEnumerable |
|
dlg | BindingGetDlg | |
Результат | void |
private void HookEvents() { binding.AddGetter(name, () => value); binding.AddSetter(name, val => value = val); }
private void HookEvents() { binding.AddGetter(name, c => value); binding.AddSetter(name, delegate(CPU c, object val) { value = val; }); }