TemplateParser.cs 808 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. //
  2. // System.Web.UI.TemplateParser
  3. //
  4. // Authors:
  5. // Duncan Mak ([email protected])
  6. // Gonzalo Paniagua Javier ([email protected])
  7. //
  8. // (C) 2002 Ximian, Inc. (http://www.ximian.com)
  9. //
  10. using System;
  11. using System.Web;
  12. namespace System.Web.UI
  13. {
  14. public abstract class TemplateParser : BaseParser
  15. {
  16. private string inputFile;
  17. private string text;
  18. private Type baseType;
  19. protected abstract Type CompileIntoType ();
  20. protected abstract Type DefaultBaseType { get; }
  21. protected abstract string DefaultDirectiveName { get; }
  22. internal string InputFile
  23. {
  24. get { return inputFile; }
  25. set { inputFile = value; }
  26. }
  27. internal string Text
  28. {
  29. get { return text; }
  30. set { text = value; }
  31. }
  32. internal Type BaseType
  33. {
  34. get { return baseType; }
  35. set { baseType = value; }
  36. }
  37. }
  38. }