protected void TryUpdate(IBindable bindable, String value) { if (bindable != null) { bindable.Update(value); } }
protected void CreateBindings(IBindable bindable, String attributeName) { bindable.Changed += value => UpdateAttribute(attributeName, value); RegisterAttributeObserver(attributeName, value => bindable.Update(value)); }