New Snippet New Snippet Recent Snippets Recent Snippets My Snippets My Snippets Web Code Search Snippets Search
Sign inor Register
Language: C#

ViewBinder FI

238 Views
Copy Code Show/Hide Line Numbers
Binder = ViewBinder.For(this, vm).
    Value(p => p.FirstName).
    Value(p => p.Address).
    AddBinder(new ValueBinder<ContactViewModel>(this.OnMailingList, vm)).
    List(p => p.Cities).
    Action(p => vm.Save()).
    Template<City>("City", t => t.Value(p => p.CityName));
 
by Glenn Block
  October 17, 2009 @ 8:40pm

Add a comment


Report Abuse
brought to you by:
West Wind Techologies


If you find this site useful and use it frequently please consider making a donation to support this free service.
Donate