AddSetter() 공개 메소드

public AddSetter ( IEnumerable names, BindingSetDlg dlg ) : void
names IEnumerable
dlg BindingSetDlg
리턴 void
예제 #1
0
 private void HookEvents()
 {
     binding.AddGetter(name, () => value);
     binding.AddSetter(name, val => value = val);
 }
예제 #2
0
 private void HookEvents()
 {
     binding.AddGetter(name, c => value);
     binding.AddSetter(name, delegate(CPU c, object val) { value = val; });
 }