public void OnContextAttach(IContextWrapper <T> context, IList <IBinding> bindings, IBinder <IContextWrapper <T> > binder) { bindings.Add(Binder.Side(() => Value).To(Binder.Side(() => context.Value))); Attaching?.Invoke(context.Value, binder); }
public void Attach() { Attaching?.Invoke(); Instance = this; PanelWidget.PushNode(RootWidget); RootWidget.SetFocus(); UpdateTitle(); Attached?.Invoke(); }
protected virtual void OnAttaching(EventArgs e) { Attaching?.Invoke(this, e); }