C# Class VisualMutator.Model.CciModuleSource

Inheritance: IDisposable, ICciModuleSource
Mostrar archivo Open project: visualmutator/visualmutator Class Usage Examples

Public Methods

Method Description
AppendFromFile ( string filePath ) : IModuleInfo
CciModuleSource ( MetadataReaderHost host = null ) : System
CciModuleSource ( MetadataReaderHost host, List moduleInfoList ) : System
CciModuleSource ( ProjectFilesClone filesClone ) : System
CciModuleSource ( string path ) : System
CloneWith ( IAssembly newMod ) : CciModuleSource
Copy ( ModuleInfo module ) : Microsoft.Cci.MutableCodeModel.Assembly
CreateCopier ( ) : CodeDeepCopier
Decompile ( ModuleInfo module ) : Microsoft.Cci.MutableCodeModel.Assembly
DecompileFile ( string filePath ) : ModuleInfo
Dispose ( ) : void
Dispose ( bool disposing ) : void
FindModuleInfo ( IModule module ) : IModuleInfo
GetSourceEmitter ( CodeLanguage lang, IModule module, SourceEmitterOutputString output ) : SourceEmitter
ReplaceWith ( IAssembly newMod ) : void
ReplaceWith ( List modules ) : void
TryGetPdbReader ( IAssembly assembly, Microsoft.Cci.PdbReader &reader ) : bool
WriteToStream ( IModuleInfo moduleInfo ) : MemoryStream
WriteToStream ( IModuleInfo moduleInfo, FileStream stream, string filePath ) : void

Private Methods

Method Description
CciModuleSource ( MetadataReaderHost host, IAssembly module ) : System
LoadAssemblyFrom ( string filePath ) : IAssembly
ReadPdb ( string pdbFile ) : Microsoft.Cci.PdbReader

Method Details

AppendFromFile() public method

public AppendFromFile ( string filePath ) : IModuleInfo
filePath string
return IModuleInfo

CciModuleSource() public method

public CciModuleSource ( MetadataReaderHost host = null ) : System
host Microsoft.Cci.MetadataReaderHost
return System

CciModuleSource() public method

public CciModuleSource ( MetadataReaderHost host, List moduleInfoList ) : System
host Microsoft.Cci.MetadataReaderHost
moduleInfoList List
return System

CciModuleSource() public method

public CciModuleSource ( ProjectFilesClone filesClone ) : System
filesClone VisualMutator.Infrastructure.ProjectFilesClone
return System

CciModuleSource() public method

public CciModuleSource ( string path ) : System
path string
return System

CloneWith() public method

public CloneWith ( IAssembly newMod ) : CciModuleSource
newMod IAssembly
return CciModuleSource

Copy() public method

public Copy ( ModuleInfo module ) : Microsoft.Cci.MutableCodeModel.Assembly
module ModuleInfo
return Microsoft.Cci.MutableCodeModel.Assembly

CreateCopier() public method

public CreateCopier ( ) : CodeDeepCopier
return Microsoft.Cci.MutableCodeModel.CodeDeepCopier

Decompile() public method

public Decompile ( ModuleInfo module ) : Microsoft.Cci.MutableCodeModel.Assembly
module ModuleInfo
return Microsoft.Cci.MutableCodeModel.Assembly

DecompileFile() public method

public DecompileFile ( string filePath ) : ModuleInfo
filePath string
return ModuleInfo

Dispose() public method

public Dispose ( ) : void
return void

Dispose() public method

public Dispose ( bool disposing ) : void
disposing bool
return void

FindModuleInfo() public method

public FindModuleInfo ( IModule module ) : IModuleInfo
module IModule
return IModuleInfo

GetSourceEmitter() public method

public GetSourceEmitter ( CodeLanguage lang, IModule module, SourceEmitterOutputString output ) : SourceEmitter
lang CodeLanguage
module IModule
output CSharpSourceEmitter.SourceEmitterOutputString
return CSharpSourceEmitter.SourceEmitter

ReplaceWith() public method

public ReplaceWith ( IAssembly newMod ) : void
newMod IAssembly
return void

ReplaceWith() public method

public ReplaceWith ( List modules ) : void
modules List
return void

TryGetPdbReader() public method

public TryGetPdbReader ( IAssembly assembly, Microsoft.Cci.PdbReader &reader ) : bool
assembly IAssembly
reader Microsoft.Cci.PdbReader
return bool

WriteToStream() public method

public WriteToStream ( IModuleInfo moduleInfo ) : MemoryStream
moduleInfo IModuleInfo
return MemoryStream

WriteToStream() public method

public WriteToStream ( IModuleInfo moduleInfo, FileStream stream, string filePath ) : void
moduleInfo IModuleInfo
stream System.IO.FileStream
filePath string
return void