PageRenderTime 98ms CodeModel.GetById 63ms RepoModel.GetById 1ms app.codeStats 0ms

/mcs/class/System.Web/Test/standalone/RootBuilderChildControlTypes_Bug603541/Default.aspx.cs

https://bitbucket.org/puffnfresh/mono-dependency-analysis
C# | 39 lines | 35 code | 4 blank | 0 comment | 0 complexity | 14bcdac754fdec7ff1989d7b546018c5 MD5 | raw file
Possible License(s): MPL-2.0-no-copyleft-exception, CC-BY-SA-3.0, GPL-2.0, Unlicense, Apache-2.0, LGPL-2.0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using System.Web;
  5. using System.Web.UI;
  6. using System.Web.UI.WebControls;
  7. public partial class _Default : System.Web.UI.Page
  8. {
  9. protected void Page_Load(object sender, EventArgs e)
  10. {
  11. StringBuilder sb = new StringBuilder ();
  12. sb.AppendFormat ("a: {0}\n", anchor.GetType ());
  13. sb.AppendFormat ("button: {0}\n", button.GetType ());
  14. sb.AppendFormat ("img: {0}\n", img.GetType ());
  15. sb.AppendFormat ("link: {0}\n", link.GetType ());
  16. sb.AppendFormat ("meta: {0}\n", meta.GetType ());
  17. sb.AppendFormat ("select: {0}\n", testSelect.GetType ());
  18. sb.AppendFormat ("table: {0}\n", table.GetType ());
  19. sb.AppendFormat ("td: {0}\n", td.GetType ());
  20. sb.AppendFormat ("tr: {0}\n", tr.GetType ());
  21. sb.AppendFormat ("th: {0}\n", th.GetType ());
  22. sb.AppendFormat ("textarea: {0}\n", textarea.GetType ());
  23. sb.AppendFormat ("inputButton: {0}\n", inputButton.GetType ());
  24. sb.AppendFormat ("inputSubmit: {0}\n", inputSubmit.GetType ());
  25. sb.AppendFormat ("inputReset: {0}\n", inputReset.GetType ());
  26. sb.AppendFormat ("inputCheckbox: {0}\n", inputCheckbox.GetType ());
  27. sb.AppendFormat ("inputFile: {0}\n", inputFile.GetType ());
  28. sb.AppendFormat ("inputHidden: {0}\n", inputHidden.GetType ());
  29. sb.AppendFormat ("inputImage: {0}\n", inputImage.GetType ());
  30. sb.AppendFormat ("inputRadio: {0}\n", inputRadio.GetType ());
  31. sb.AppendFormat ("inputText: {0}\n", inputText.GetType ());
  32. sb.AppendFormat ("inputPassword: {0}\n", inputPassword.GetType ());
  33. log.InnerText = sb.ToString ();
  34. }
  35. }