C# Class System.Web.Compilation.AspGenerator

显示文件 Open project: kumpera/mono Class Usage Examples

Private Properties

Property Type Description
AddTypeToCache void
BuilderHasOtherThan bool
CheckForDuplicateIds void
CheckIfIncludeFileIsSecure void
CheckLanguage void
CheckTagEndNeeded bool
ChopOffTagStart string
CloseControl bool
CreateRootBuilder void
FindRegexBlocks List
FlushText void
FlushText void
GetCompilerFromType BaseCompiler
GetDirectiveAttributesDictionary IDictionary
GetDirectiveName string
GetIncludeFilePath string
GetInheritedType System.Type
GetLineNumberForIndex int
GetNumberOfLinesForRange int
GetRootBuilderType System.Type
InitParser void
InitParser void
MapTagTypeToConstructType CodeConstructType
OtherControlsAllowed bool
ParseAttributeTag void
ParseError void
ParsingCompleted void
PrintLocation void
PrintTree void
ProcessCode bool
ProcessScript bool
ProcessTag bool
ProcessTagsInAttributes bool
ReadFile string
ReadFileContents string
SplitTextIntoBlocks IList
TagParsed void
TextParsed void
TryRemoveTag bool

Public Methods

Method Description
AddControl ( Type type, IDictionary attributes ) : void
AspGenerator ( System.Web.UI.TemplateParser tparser ) : System
AspGenerator ( System.Web.UI.TemplateParser tparser, AspComponentFoundry componentFoundry ) : System
GetCompiledType ( ) : Type
Parse ( ) : void
Parse ( Stream stream, string filename, bool doInitParser ) : void
Parse ( TextReader reader, string filename, bool doInitParser ) : void
Parse ( string file ) : void
Parse ( string filename, bool doInitParser ) : void

Private Methods

Method Description
AddTypeToCache ( ArrayList dependencies, string inputFile, Type type ) : void
BuilderHasOtherThan ( Type type, ControlBuilder cb ) : bool
CheckForDuplicateIds ( ControlBuilder root, Stack scopes ) : void
CheckIfIncludeFileIsSecure ( string filePath ) : void
CheckLanguage ( string lang ) : void
CheckTagEndNeeded ( string text ) : bool
ChopOffTagStart ( ILocation location, string content, string tagid ) : string
CloseControl ( string tagid ) : bool
CreateRootBuilder ( Stream inputStream, string filename ) : void
FindRegexBlocks ( Regex rxStart, Regex rxEnd, CheckBlockEnd checkEnd, IList blocks, TextBlockType typeForMatches, bool discardBlocks ) : List
FlushText ( ) : void
FlushText ( bool ignoreEmptyString ) : void
GetCompilerFromType ( ) : BaseCompiler
GetDirectiveAttributesDictionary ( string skipKeyName, CaptureCollection names, CaptureCollection values ) : IDictionary
GetDirectiveName ( CaptureCollection names ) : string
GetIncludeFilePath ( string basedir, string filename ) : string
GetInheritedType ( string fileContents, string filename ) : Type
GetLineNumberForIndex ( string fileContents, int index ) : int
GetNumberOfLinesForRange ( string fileContents, int index, int length ) : int
GetRootBuilderType ( Stream inputStream, string filename ) : Type
InitParser ( TextReader reader, string filename ) : void
InitParser ( string filename ) : void
MapTagTypeToConstructType ( TagType tagtype ) : CodeConstructType
OtherControlsAllowed ( ControlBuilder cb ) : bool
ParseAttributeTag ( string code, ILocation location ) : void
ParseError ( ILocation location, string message ) : void
ParsingCompleted ( ) : void
PrintLocation ( ILocation loc ) : void
PrintTree ( ControlBuilder builder, int indent ) : void
ProcessCode ( TagType tagtype, string code, ILocation location ) : bool
ProcessScript ( TagType tagtype, TagAttributes attributes ) : bool
ProcessTag ( ILocation location, string tagid, TagAttributes atts, TagType tagtype, bool &ignored ) : bool
ProcessTagsInAttributes ( ILocation location, string tagid, TagAttributes attributes, TagType type ) : bool
ReadFile ( string filename ) : string
ReadFileContents ( Stream inputStream, string filename ) : string
SplitTextIntoBlocks ( string text ) : IList
TagParsed ( ILocation location, TagType tagtype, string tagid, TagAttributes attributes ) : void
TextParsed ( ILocation location, string text ) : void
TryRemoveTag ( string tagid, ArrayList otags ) : bool

Method Details

AddControl() public method

public AddControl ( Type type, IDictionary attributes ) : void
type System.Type
attributes IDictionary
return void

AspGenerator() public method

public AspGenerator ( System.Web.UI.TemplateParser tparser ) : System
tparser System.Web.UI.TemplateParser
return System

AspGenerator() public method

public AspGenerator ( System.Web.UI.TemplateParser tparser, AspComponentFoundry componentFoundry ) : System
tparser System.Web.UI.TemplateParser
componentFoundry AspComponentFoundry
return System

GetCompiledType() public method

public GetCompiledType ( ) : Type
return System.Type

Parse() public method

public Parse ( ) : void
return void

Parse() public method

public Parse ( Stream stream, string filename, bool doInitParser ) : void
stream Stream
filename string
doInitParser bool
return void

Parse() public method

public Parse ( TextReader reader, string filename, bool doInitParser ) : void
reader TextReader
filename string
doInitParser bool
return void

Parse() public method

public Parse ( string file ) : void
file string
return void

Parse() public method

public Parse ( string filename, bool doInitParser ) : void
filename string
doInitParser bool
return void