UserControlCompiler.cs 638 B

12345678910111213141516171819202122232425262728293031
  1. //
  2. // System.Web.Compilation.UserControlCompiler
  3. //
  4. // Authors:
  5. // Gonzalo Paniagua Javier ([email protected])
  6. //
  7. // (C) 2002,2003 Ximian, Inc (http://www.ximian.com)
  8. //
  9. using System;
  10. using System.Web.UI;
  11. namespace System.Web.Compilation
  12. {
  13. class UserControlCompiler : TemplateControlCompiler
  14. {
  15. UserControlParser parser;
  16. public UserControlCompiler (UserControlParser parser)
  17. : base (parser)
  18. {
  19. this.parser = parser;
  20. }
  21. public static Type CompileUserControlType (UserControlParser userControlParser)
  22. {
  23. UserControlCompiler pc = new UserControlCompiler (userControlParser);
  24. return pc.GetCompiledType ();
  25. }
  26. }
  27. }