public Binding AddBinding <TOwner>(ActionDependencyProperty <TOwner> vProperty, IClassMethod vmProperty) where TOwner : IVisualElement { var result = new ActionBinding <TOwner>(this, vProperty, vmProperty); m_Bindings.Add(result); return(result); }
public ActionBinding(IVisualElement elt, ActionDependencyProperty <TOwner> vProperty, IClassMethod vmProperty) { Assert.IsNotNull(elt); Assert.IsNotNull(vProperty); Assert.IsNotNull(vmProperty); m_ViewProperty = vProperty; m_VisualElement = elt; vProperty.Hook(elt, vmProperty); }
public static int GetHashCodeFor(ActionDependencyProperty <TOwner> vProperty, IClassMethod vmProperty) { return(vProperty.GetHashCode() ^ vmProperty.GetHashCode()); }