public IDisposable Attach(TContext context) { var map = new BindingMap <TContext>(_actions); map.SetContext(context); var watcher = _rootNode.CreateWatcher(map); watcher.Attach(context); return(watcher); }
public void SetContext(TContext context) { _map.SetContext(context); _watcher.Attach(context); }