AndreyAkinshin / knockout-mvc

Power of Knockout.js for ASP.NET MVC
http://knockoutmvc.com
203 stars 125 forks source link

ForEach method with IEnumerable<TItem> #19

Open lucacestola opened 11 years ago

lucacestola commented 11 years ago

For "ForEach" method of "KnockoutContext" class, the use of IEnumerable for the "binding" parameter would be useful to avoid constrain on the ViewModel class.

Is it feasible? Changing the code unit tests in the solution always succeed.