<div> global<br/> <% int sc = 0; var globalFragment = new Action(() => { %>subtotal [<%=sc %>]<br/><% }); for (sc = 2; sc < 10; sc++) { globalFragment.Invoke(); } %> <br> scoped<br><% var typedFragment = new Action<int, string>((x, y) => { %>html[<%=y%>,<%=x %>]<br /><% }); for (sc = 99; sc < 103; sc++) { typedFragment.Invoke(sc + 5, "324234"); } %> </div>
Leave a Comment
Comments
remove Newtonsoft.Json
Posted by Jeremy Nicholls | jeremy@beweb.co.nzreferences to Newtonsoft.Json may need to be removed. I noticed that if you include Google.GData.Client.dll et al. This puts Newtonsoft.Json back in