C# Класс System.Web.Compilation.AspGenerator

Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
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

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

AddControl() публичный Метод

public AddControl ( Type type, IDictionary attributes ) : void
type System.Type
attributes IDictionary
Результат void

AspGenerator() публичный Метод

public AspGenerator ( System.Web.UI.TemplateParser tparser ) : System
tparser System.Web.UI.TemplateParser
Результат System

AspGenerator() публичный Метод

public AspGenerator ( System.Web.UI.TemplateParser tparser, AspComponentFoundry componentFoundry ) : System
tparser System.Web.UI.TemplateParser
componentFoundry AspComponentFoundry
Результат System

GetCompiledType() публичный Метод

public GetCompiledType ( ) : Type
Результат System.Type

Parse() публичный Метод

public Parse ( ) : void
Результат void

Parse() публичный Метод

public Parse ( Stream stream, string filename, bool doInitParser ) : void
stream Stream
filename string
doInitParser bool
Результат void

Parse() публичный Метод

public Parse ( TextReader reader, string filename, bool doInitParser ) : void
reader TextReader
filename string
doInitParser bool
Результат void

Parse() публичный Метод

public Parse ( string file ) : void
file string
Результат void

Parse() публичный Метод

public Parse ( string filename, bool doInitParser ) : void
filename string
doInitParser bool
Результат void