Ejemplo n.º 1
0
 public void Add(string name, DotvvmBindableControl control, DotvvmProperty property, Action nullBindingAction)
 {
     var binding = control.GetValueBinding(property);
     if (binding == null)
     {
         nullBindingAction();
     }
     else
     {
         info.Add(new KnockoutBindingInfo() { Name = name, Expression = control.GetValueBinding(property).GetKnockoutBindingExpression() });
     }
 }