Esempio n. 1
0
 public OneWaySubscriptionBinding(IOneWayBinding <TModel, TView> binding, Func <TModel, TSubscription> subscriptionGetter)
 {
     _binding            = binding;
     _subscriptionGetter = subscriptionGetter;
 }
Esempio n. 2
0
 protected override void UnbindObject(IOneWayBinding <TModel, TView> binding)
 {
 }
Esempio n. 3
0
 public TwoWayBinding(IOneWayBinding <TModel, TView> binding, IOneWayBinding <TView, TModel> reverseBinding)
 {
     _binding        = binding;
     _reverseBinding = reverseBinding;
 }
 static public OneWaySubscriptionBinding <TModel, TView, TSubscription> AsSubscriptionBinding <TModel, TView, TSubscription>(
     this IOneWayBinding <TModel, TView> binding,
     Func <TModel, TSubscription> subscriptionGetter)
 {
     return(new OneWaySubscriptionBinding <TModel, TView, TSubscription>(binding, subscriptionGetter));
 }