C# Class System.Web.Compilation.AssemblyBuilder

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

Private Properties

Property Type Description
AddAssemblyReference void
AddAssemblyReference void
AddAssemblyReference void
AddCodeCompileUnit void
AddCodeFile void
AddCodeFile void
AddCodeFile void
AddPathToBuilderMap void
AssemblyBuilder System
AssemblyBuilder System
AssemblyBuilder System
AssemblyBuilder System
BuildAssembly CompilerResults
BuildAssembly CompilerResults
BuildAssembly CompilerResults
BuildAssembly CompilerResults
CheckForPartialTypes CodeUnit
CompareTypes void
CopyFileWithChecksum void
CopyFileWithChecksum void
FindMemberByName CodeTypeMember
GenerateTypeFactory void
GetBuildProviderForPhysicalFilePath System.Web.Compilation.BuildProvider
GetUnitsAsArray CodeUnit[]
ProcessPartialTypes void
ProcessType void
TypeHasMember bool
UpdateChecksum void

Public Methods

Method Description
AddAssemblyReference ( Assembly a ) : void
AddCodeCompileUnit ( System.Web.Compilation.BuildProvider buildProvider, CodeCompileUnit compileUnit ) : void
CreateCodeFile ( System.Web.Compilation.BuildProvider buildProvider ) : TextWriter
CreateEmbeddedResource ( System.Web.Compilation.BuildProvider buildProvider, string name ) : Stream
GetTempFilePhysicalPath ( string extension ) : string

Private Methods

Method Description
AddAssemblyReference ( ICollection asmcoll ) : void
AddAssemblyReference ( List asmlist ) : void
AddAssemblyReference ( string assemblyLocation ) : void
AddCodeCompileUnit ( CodeCompileUnit compileUnit ) : void
AddCodeFile ( string path ) : void
AddCodeFile ( string path, System.Web.Compilation.BuildProvider bp ) : void
AddCodeFile ( string path, System.Web.Compilation.BuildProvider bp, bool isVirtual ) : void
AddPathToBuilderMap ( string path, System.Web.Compilation.BuildProvider bp ) : void
AssemblyBuilder ( CodeDomProvider provider ) : System
AssemblyBuilder ( CodeDomProvider provider, string assemblyBaseName ) : System
AssemblyBuilder ( VirtualPath virtualPath, CodeDomProvider provider ) : System
AssemblyBuilder ( VirtualPath virtualPath, CodeDomProvider provider, string assemblyBaseName ) : System
BuildAssembly ( ) : CompilerResults
BuildAssembly ( CompilerParameters options ) : CompilerResults
BuildAssembly ( VirtualPath virtualPath ) : CompilerResults
BuildAssembly ( VirtualPath virtualPath, CompilerParameters options ) : CompilerResults
CheckForPartialTypes ( CodeUnit codeUnit ) : CodeUnit
CompareTypes ( CompileUnitPartialType source, CompileUnitPartialType target ) : void
CopyFileWithChecksum ( Stream input, string to, string from, ICodePragmaGenerator pragmaGenerator ) : void
CopyFileWithChecksum ( string input, string to, string from, ICodePragmaGenerator pragmaGenerator ) : void
FindMemberByName ( CodeTypeDeclaration type, string name ) : CodeTypeMember
GenerateTypeFactory ( string typeName ) : void
GetBuildProviderForPhysicalFilePath ( string path ) : System.Web.Compilation.BuildProvider
GetUnitsAsArray ( ) : CodeUnit[]
ProcessPartialTypes ( ) : void
ProcessType ( List typeList ) : void
TypeHasMember ( CodeTypeDeclaration type, CodeTypeMember member ) : bool
UpdateChecksum ( char buf, int count, System.Text.MD5 checksum, bool final ) : void

Method Details

AddAssemblyReference() public method

public AddAssemblyReference ( Assembly a ) : void
a Assembly
return void

AddCodeCompileUnit() public method

public AddCodeCompileUnit ( System.Web.Compilation.BuildProvider buildProvider, CodeCompileUnit compileUnit ) : void
buildProvider System.Web.Compilation.BuildProvider
compileUnit CodeCompileUnit
return void

CreateCodeFile() public method

public CreateCodeFile ( System.Web.Compilation.BuildProvider buildProvider ) : TextWriter
buildProvider System.Web.Compilation.BuildProvider
return System.IO.TextWriter

CreateEmbeddedResource() public method

public CreateEmbeddedResource ( System.Web.Compilation.BuildProvider buildProvider, string name ) : Stream
buildProvider System.Web.Compilation.BuildProvider
name string
return Stream

GetTempFilePhysicalPath() public method

public GetTempFilePhysicalPath ( string extension ) : string
extension string
return string