C# Class Pluton.Patcher.Reflection.AssemblyPatcher

Inheritance: PatcherObject
Exibir arquivo Open project: Notulp/Pluton Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
AssemblyPatcher ( AssemblyDefinition assDef ) : System
CreateType ( string @namespace, string name ) : TypePatcher
FromFile ( string filename ) : AssemblyPatcher
GetType ( Func func ) : TypePatcher
GetType ( string type ) : TypePatcher
ImportMethod ( MethodPatcher toImport ) : MethodReference
Write ( string file ) : void

Method Details

AssemblyPatcher() public method

public AssemblyPatcher ( AssemblyDefinition assDef ) : System
assDef Mono.Cecil.AssemblyDefinition
return System

CreateType() public method

public CreateType ( string @namespace, string name ) : TypePatcher
@namespace string
name string
return TypePatcher

FromFile() public static method

public static FromFile ( string filename ) : AssemblyPatcher
filename string
return AssemblyPatcher

GetType() public method

public GetType ( Func func ) : TypePatcher
func Func
return TypePatcher

GetType() public method

public GetType ( string type ) : TypePatcher
type string
return TypePatcher

ImportMethod() public method

public ImportMethod ( MethodPatcher toImport ) : MethodReference
toImport MethodPatcher
return Mono.Cecil.MethodReference

Write() public method

public Write ( string file ) : void
file string
return void