| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- //
- // System.Web.UI.TemplateParser
- //
- // Authors:
- // Duncan Mak ([email protected])
- // Gonzalo Paniagua Javier ([email protected])
- //
- // (C) 2002 Ximian, Inc. (http://www.ximian.com)
- //
- using System;
- using System.Collections;
- using System.Web;
- namespace System.Web.UI
- {
- public abstract class TemplateParser : BaseParser
- {
- string inputFile;
- string text;
- Hashtable options;
- protected abstract Type CompileIntoType ();
- protected virtual void HandleOptions (object obj)
- {
- }
- protected abstract Type DefaultBaseType { get; }
- protected abstract string DefaultDirectiveName { get; }
- internal string InputFile
- {
- get { return inputFile; }
- set { inputFile = value; }
- }
- internal string Text
- {
- get { return text; }
- set { text = value; }
- }
- internal Type BaseType
- {
- get { return DefaultBaseType; }
- }
-
- internal Hashtable Options {
- get { return options; }
- set { options = value; }
- }
- }
- }
|