C# Class System.Web.Compilation.BaseCompiler

Mostrar archivo Open project: remobjects/mono Class Usage Examples

Protected Properties

Property Type Description
mainClass System.CodeDom.CodeTypeDeclaration
mainClassExpr System.CodeDom.CodeTypeReferenceExpression
partialClass System.CodeDom.CodeTypeDeclaration
partialClassExpr System.CodeDom.CodeTypeReferenceExpression
partialNameOverride System.Collections.Hashtable
thisRef System.CodeDom.CodeThisReferenceExpression

Private Properties

Property Type Description
AddLinePragma System.CodeDom.CodeStatement
AddLinePragma System.CodeDom.CodeStatement
AddLinePragma System.CodeDom.CodeStatement
AddLinePragma System.CodeDom.CodeStatement
AddLinePragma System.CodeDom.CodeTypeMember
AddLinePragma System.CodeDom.CodeTypeMember
AddLinePragma System.CodeDom.CodeTypeMember
AddScripts void
AssignAppRelativeVirtualPath void
CheckCompilerErrors void
CheckPartialBaseFields bool
CheckPartialBaseProperties bool
CheckPartialBaseType bool
ConstructType void
CreateProvider System.CodeDom.Compiler.CodeDomProvider
CreateProvider System.CodeDom.Compiler.CodeDomProvider
CreateProvider System.CodeDom.Compiler.CodeDomProvider
CreateProvider System.CodeDom.Compiler.CodeDomProvider
GetCompiledType System.Type
GetMainClassFieldReferenceExpression System.CodeDom.CodeFieldReferenceExpression
IgnoreFile bool
InternalCreatePageProperty void

Protected Methods

Method Description
AddApplicationAndSessionObjects ( ) : void
AddClassAttributes ( ) : void
AddInterfaces ( ) : void
AddReferencedAssembly ( Assembly asm ) : void
AddStatementsToConstructor ( CodeConstructor ctor ) : void
BaseCompiler ( System.Web.UI.TemplateParser parser ) : System
CreateApplicationOrSessionPropertyForObject ( Type type, string propName, bool isApplication, bool isPublic ) : void
CreateConstructor ( CodeStatementCollection localVars, CodeStatementCollection trueStmt ) : void
CreateFieldForObject ( Type type, string name ) : string
CreateMethods ( ) : void
CreateProfileProperty ( ) : void
CreatePropertyForObject ( Type type, string propName, string fieldName, bool isPublic ) : void
CreateStaticFields ( ) : void
DynamicDir ( ) : string
InitializeType ( ) : void

Private Methods

Method Description
AddLinePragma ( System.CodeDom.CodeExpression expression, ControlBuilder builder ) : CodeStatement
AddLinePragma ( CodeStatement statement, ControlBuilder builder ) : CodeStatement
AddLinePragma ( CodeStatement statement, ILocation location ) : CodeStatement
AddLinePragma ( CodeStatement statement, int line, string fileName ) : CodeStatement
AddLinePragma ( CodeTypeMember member, ControlBuilder builder ) : CodeTypeMember
AddLinePragma ( CodeTypeMember member, ILocation location ) : CodeTypeMember
AddLinePragma ( CodeTypeMember member, int line, string fileName ) : CodeTypeMember
AddScripts ( ) : void
AssignAppRelativeVirtualPath ( CodeConstructor ctor ) : void
CheckCompilerErrors ( CompilerResults results ) : void
CheckPartialBaseFields ( Type type, Type baseType ) : bool
CheckPartialBaseProperties ( Type type, Type baseType ) : bool
CheckPartialBaseType ( Type type ) : bool
ConstructType ( ) : void
CreateProvider ( HttpContext context, string lang, CompilerParameters &par, string &tempdir ) : CodeDomProvider
CreateProvider ( HttpContext context, string lang, string &compilerOptions, int &warningLevel, string &tempdir ) : CodeDomProvider
CreateProvider ( string lang ) : CodeDomProvider
CreateProvider ( string lang, string &compilerOptions, int &warningLevel, string &tempdir ) : CodeDomProvider
GetCompiledType ( ) : Type
GetMainClassFieldReferenceExpression ( string fieldName ) : CodeFieldReferenceExpression
IgnoreFile ( string fileName ) : bool
InternalCreatePageProperty ( string retType, string name, string contextProperty ) : void

Method Details

AddApplicationAndSessionObjects() protected method

protected AddApplicationAndSessionObjects ( ) : void
return void

AddClassAttributes() protected method

protected AddClassAttributes ( ) : void
return void

AddInterfaces() protected method

protected AddInterfaces ( ) : void
return void

AddReferencedAssembly() protected method

protected AddReferencedAssembly ( Assembly asm ) : void
asm System.Reflection.Assembly
return void

AddStatementsToConstructor() protected method

protected AddStatementsToConstructor ( CodeConstructor ctor ) : void
ctor System.CodeDom.CodeConstructor
return void

BaseCompiler() protected method

protected BaseCompiler ( System.Web.UI.TemplateParser parser ) : System
parser System.Web.UI.TemplateParser
return System

CreateApplicationOrSessionPropertyForObject() protected method

protected CreateApplicationOrSessionPropertyForObject ( Type type, string propName, bool isApplication, bool isPublic ) : void
type System.Type
propName string
isApplication bool
isPublic bool
return void

CreateConstructor() protected method

protected CreateConstructor ( CodeStatementCollection localVars, CodeStatementCollection trueStmt ) : void
localVars System.CodeDom.CodeStatementCollection
trueStmt System.CodeDom.CodeStatementCollection
return void

CreateFieldForObject() protected method

protected CreateFieldForObject ( Type type, string name ) : string
type System.Type
name string
return string

CreateMethods() protected method

protected CreateMethods ( ) : void
return void

CreateProfileProperty() protected method

protected CreateProfileProperty ( ) : void
return void

CreatePropertyForObject() protected method

protected CreatePropertyForObject ( Type type, string propName, string fieldName, bool isPublic ) : void
type System.Type
propName string
fieldName string
isPublic bool
return void

CreateStaticFields() protected method

protected CreateStaticFields ( ) : void
return void

DynamicDir() protected method

protected DynamicDir ( ) : string
return string

InitializeType() protected method

protected InitializeType ( ) : void
return void

Property Details

mainClass protected_oe property

protected CodeTypeDeclaration,System.CodeDom mainClass
return System.CodeDom.CodeTypeDeclaration

mainClassExpr protected_oe property

protected CodeTypeReferenceExpression,System.CodeDom mainClassExpr
return System.CodeDom.CodeTypeReferenceExpression

partialClass protected_oe property

protected CodeTypeDeclaration,System.CodeDom partialClass
return System.CodeDom.CodeTypeDeclaration

partialClassExpr protected_oe property

protected CodeTypeReferenceExpression,System.CodeDom partialClassExpr
return System.CodeDom.CodeTypeReferenceExpression

partialNameOverride protected_oe property

protected Hashtable,System.Collections partialNameOverride
return System.Collections.Hashtable

thisRef protected_oe static_oe property

protected static CodeThisReferenceExpression,System.CodeDom thisRef
return System.CodeDom.CodeThisReferenceExpression