C# Class System.Web.Compilation.TemplateControlCompiler

Inheritance: BaseCompiler
Afficher le fichier Open project: kumpera/mono

Private Properties

Свойство Type Description
AddBindableTemplateInvocation void
AddCodeForPropertyOrField void
AddCodeRender void
AddContentTemplateInvocation void
AddDataBindingLiteral void
AddEventAssign void
AddExpressionAssign void
AddLiteralSubObject void
AddParsedSubObjectStmt void
AddRenderControl void
AddTemplateInvocation void
AssignPropertiesFromResources void
AssignPropertiesFromResources void
AssignPropertyFromResources void
CallBaseFrameworkInitialize void
CallSetStringResourcePointer void
CheckBaseFieldOrProperty bool
CompileExpression System.CodeDom.CodeExpression
CreateApplicationInstance void
CreateAssignStatementFromAttribute void
CreateAutoEventWireup void
CreateAutoHandlers void
CreateBoundPropertyEntry System.Web.UI.BoundPropertyEntry
CreateConsoleWriteLineCall System.CodeDom.CodeMethodInvokeExpression
CreateContentPlaceHolderTemplateProperty void
CreateControlVariable System.CodeDom.CodeStatement
CreateConvertToCall System.CodeDom.CodeMethodInvokeExpression
CreateDBAttributeMethod void
CreateDBMethod System.CodeDom.CodeMemberMethod
CreateEvalInvokeExpression System.CodeDom.CodeExpression
CreateExtractValuesMethod string
CreateField void
CreateFrameworkInitializeMethod void
CreateNullableExpression System.CodeDom.CodeExpression
CreateProperties void
DataBoundProperty string
FlushText void
GenerateInstance System.CodeDom.CodeExpression
GenerateObjectInstance System.CodeDom.CodeExpression
GetContainerType System.Type
GetConverterForMember System.ComponentModel.TypeConverter
GetDefaultInstanceDescriptor System.ComponentModel.Design.Serialization.InstanceDescriptor
GetExpressionFromString System.CodeDom.CodeExpression
GetFieldOrProperty System.Reflection.MemberInfo
GetWrappedCodeExpression System.CodeDom.CodeExpression
InitMethod void
InvariantCompareNoCase bool
IsWritablePropertyOrField bool
ProcessPropertiesAndFields bool
ProcessTemplateChildren void
RegisterBindingInfo void
ResourceProviderHasObject bool
SafeCanConvertFrom bool
SafeCanConvertTo bool
SanitizeBindCall string
SetCustomAttribute void
SetCustomAttributes void
TrimDB string

Méthodes publiques

Méthode Description
TemplateControlCompiler ( TemplateControlParser parser ) : System

Méthodes protégées

Méthode Description
AddApplicationAndSessionObjects ( ) : void
AddChildCall ( ControlBuilder parent, ControlBuilder child ) : void
AddStatementsToConstructor ( CodeConstructor ctor ) : void
AddStatementsToInitMethodBottom ( ControlBuilder builder, CodeMemberMethod method ) : void
AddStatementsToInitMethodTop ( ControlBuilder builder, CodeMemberMethod method ) : void
AppendStatementsToFrameworkInitialize ( CodeMemberMethod method ) : void
CreateAssignStatementsFromAttributes ( ControlBuilder builder ) : void
CreateControlTree ( ControlBuilder builder, bool inTemplate, bool childrenAsProperties ) : void
CreateMethods ( ) : void
CreateStaticFields ( ) : void
EnsureID ( ControlBuilder builder ) : void
HandleUrlProperty ( string str, MemberInfo member ) : string
InitializeType ( ) : void
PrependStatementsToFrameworkInitialize ( CodeMemberMethod method ) : void
ProcessObjectTag ( System.Web.UI.ObjectTagBuilder tag ) : void

Private Methods

Méthode Description
AddBindableTemplateInvocation ( ControlBuilder builder, string name, string methodName, string extractMethodName ) : void
AddCodeForPropertyOrField ( ControlBuilder builder, Type type, string var_name, string att, MemberInfo member, bool isDataBound, bool isExpression ) : void
AddCodeRender ( ControlBuilder parent, System.Web.UI.CodeRenderBuilder cr ) : void
AddContentTemplateInvocation ( System.Web.UI.WebControls.ContentBuilderInternal cbuilder, CodeMemberMethod method, string methodName ) : void
AddDataBindingLiteral ( ControlBuilder builder, System.Web.UI.DataBindingBuilder db ) : void
AddEventAssign ( CodeMemberMethod method, ControlBuilder builder, string name, Type type, string value ) : void
AddExpressionAssign ( CodeMemberMethod method, ControlBuilder builder, MemberInfo member, Type type, string name, string value ) : void
AddLiteralSubObject ( ControlBuilder builder, string str ) : void
AddParsedSubObjectStmt ( ControlBuilder builder, System.CodeDom.CodeExpression expr ) : void
AddRenderControl ( ControlBuilder builder ) : void
AddTemplateInvocation ( ControlBuilder builder, string name, string methodName ) : void
AssignPropertiesFromResources ( ControlBuilder builder, Type controlType, string attvalue ) : void
AssignPropertiesFromResources ( ControlBuilder builder, string attvalue ) : void
AssignPropertyFromResources ( ControlBuilder builder, MemberInfo mi, string attvalue ) : void
CallBaseFrameworkInitialize ( CodeMemberMethod method ) : void
CallSetStringResourcePointer ( CodeMemberMethod method ) : void
CheckBaseFieldOrProperty ( string id, Type type, MemberAttributes &ma ) : bool
CompileExpression ( MemberInfo member, Type type, string value, bool useSetAttribute ) : System.CodeDom.CodeExpression
CreateApplicationInstance ( ) : void
CreateAssignStatementFromAttribute ( ControlBuilder builder, string id ) : void
CreateAutoEventWireup ( ) : void
CreateAutoHandlers ( ) : void
CreateBoundPropertyEntry ( PropertyInfo pi, string prefix, string expr, bool useSetAttribute ) : System.Web.UI.BoundPropertyEntry
CreateConsoleWriteLineCall ( string format ) : CodeMethodInvokeExpression
CreateContentPlaceHolderTemplateProperty ( string backingField, string name ) : void
CreateControlVariable ( Type type, ControlBuilder builder, CodeMemberMethod method, CodeTypeReference ctrlTypeRef ) : CodeStatement
CreateConvertToCall ( TypeCode typeCode, System.CodeDom.CodeExpression expr ) : CodeMethodInvokeExpression
CreateDBAttributeMethod ( ControlBuilder builder, string attr, System.CodeDom.CodeExpression code ) : void
CreateDBMethod ( ControlBuilder builder, string name, Type container, Type target ) : CodeMemberMethod
CreateEvalInvokeExpression ( Regex regex, string value, bool isBind ) : System.CodeDom.CodeExpression
CreateExtractValuesMethod ( System.Web.UI.TemplateBuilder builder ) : string
CreateField ( ControlBuilder builder, bool check ) : void
CreateFrameworkInitializeMethod ( ) : void
CreateNullableExpression ( Type type, System.CodeDom.CodeExpression inst, bool nullable ) : System.CodeDom.CodeExpression
CreateProperties ( ) : void
DataBoundProperty ( ControlBuilder builder, Type type, string varName, string value ) : string
FlushText ( ControlBuilder builder, StringBuilder sb ) : void
GenerateInstance ( InstanceDescriptor idesc, bool throwOnError ) : System.CodeDom.CodeExpression
GenerateObjectInstance ( object value, bool throwOnError ) : System.CodeDom.CodeExpression
GetContainerType ( ControlBuilder builder ) : Type
GetConverterForMember ( MemberInfo member ) : TypeConverter
GetDefaultInstanceDescriptor ( object value ) : InstanceDescriptor
GetExpressionFromString ( Type type, string str, MemberInfo member ) : System.CodeDom.CodeExpression
GetFieldOrProperty ( Type type, string name ) : MemberInfo
GetWrappedCodeExpression ( System.Web.UI.CodeRenderBuilder cr ) : System.CodeDom.CodeExpression
InitMethod ( ControlBuilder builder, bool isTemplate, bool childrenAsProperties ) : void
InvariantCompareNoCase ( string a, string b ) : bool
IsWritablePropertyOrField ( MemberInfo member ) : bool
ProcessPropertiesAndFields ( ControlBuilder builder, MemberInfo member, string id, string attValue, string prefix ) : bool
ProcessTemplateChildren ( ControlBuilder builder ) : void
RegisterBindingInfo ( ControlBuilder builder, string propName, string &value ) : void
ResourceProviderHasObject ( string key ) : bool
SafeCanConvertFrom ( Type type, TypeConverter cvt ) : bool
SafeCanConvertTo ( Type type, TypeConverter cvt ) : bool
SanitizeBindCall ( Match match ) : string
SetCustomAttribute ( CodeMemberMethod method, System.Web.UI.UnknownAttributeDescriptor uad ) : void
SetCustomAttributes ( CodeMemberMethod method ) : void
TrimDB ( string value, bool trimTail ) : string

Method Details

AddApplicationAndSessionObjects() protected méthode

protected AddApplicationAndSessionObjects ( ) : void
Résultat void

AddChildCall() protected méthode

protected AddChildCall ( ControlBuilder parent, ControlBuilder child ) : void
parent System.Web.UI.ControlBuilder
child System.Web.UI.ControlBuilder
Résultat void

AddStatementsToConstructor() protected méthode

protected AddStatementsToConstructor ( CodeConstructor ctor ) : void
ctor System.CodeDom.CodeConstructor
Résultat void

AddStatementsToInitMethodBottom() protected méthode

protected AddStatementsToInitMethodBottom ( ControlBuilder builder, CodeMemberMethod method ) : void
builder System.Web.UI.ControlBuilder
method System.CodeDom.CodeMemberMethod
Résultat void

AddStatementsToInitMethodTop() protected méthode

protected AddStatementsToInitMethodTop ( ControlBuilder builder, CodeMemberMethod method ) : void
builder System.Web.UI.ControlBuilder
method System.CodeDom.CodeMemberMethod
Résultat void

AppendStatementsToFrameworkInitialize() protected méthode

protected AppendStatementsToFrameworkInitialize ( CodeMemberMethod method ) : void
method System.CodeDom.CodeMemberMethod
Résultat void

CreateAssignStatementsFromAttributes() protected méthode

protected CreateAssignStatementsFromAttributes ( ControlBuilder builder ) : void
builder System.Web.UI.ControlBuilder
Résultat void

CreateControlTree() protected méthode

protected CreateControlTree ( ControlBuilder builder, bool inTemplate, bool childrenAsProperties ) : void
builder System.Web.UI.ControlBuilder
inTemplate bool
childrenAsProperties bool
Résultat void

CreateMethods() protected méthode

protected CreateMethods ( ) : void
Résultat void

CreateStaticFields() protected méthode

protected CreateStaticFields ( ) : void
Résultat void

EnsureID() protected méthode

protected EnsureID ( ControlBuilder builder ) : void
builder System.Web.UI.ControlBuilder
Résultat void

HandleUrlProperty() protected méthode

protected HandleUrlProperty ( string str, MemberInfo member ) : string
str string
member System.Reflection.MemberInfo
Résultat string

InitializeType() protected méthode

protected InitializeType ( ) : void
Résultat void

PrependStatementsToFrameworkInitialize() protected méthode

protected PrependStatementsToFrameworkInitialize ( CodeMemberMethod method ) : void
method System.CodeDom.CodeMemberMethod
Résultat void

ProcessObjectTag() protected méthode

protected ProcessObjectTag ( System.Web.UI.ObjectTagBuilder tag ) : void
tag System.Web.UI.ObjectTagBuilder
Résultat void

TemplateControlCompiler() public méthode

public TemplateControlCompiler ( TemplateControlParser parser ) : System
parser System.Web.UI.TemplateControlParser
Résultat System