C# Class Weaver.AssemblyWeaver

Show file Open project: FloodProject/flood Class Usage Examples

Public Methods

Method Description
AddAttribute ( Type attributeType, Type ctorParamTypes, object paramArguments ) : void
AddMemberOptions ( MemberOptions>.Dictionary options ) : void
AddReference ( string assemblyPath ) : void
AddReference ( string fromAssemblyPath, string referenceName ) : void
AddSearchDirectory ( string directory ) : void
AssemblyWeaver ( ) : System
AssemblyWeaver ( string targetAssemblyPath ) : System
CloneMembers ( List clones ) : void
CopyAssembly ( string origAssemblyPath ) : void
CopyTypes ( string origAssemblyPath, IEnumerable types, bool areStubTypes = false ) : void
GetReferences ( string assemblyPath ) : HashSet
MergeTypes ( string origAssemblyPath, TypeSignature>.Dictionary types ) : void
Write ( string outputAssemblyPath ) : void

Private Methods

Method Description
AssemblyWeaver ( AssemblyDefinition targetAssemblyDef ) : System
CheckErrors ( ) : void

Method Details

AddAttribute() public method

public AddAttribute ( Type attributeType, Type ctorParamTypes, object paramArguments ) : void
attributeType System.Type
ctorParamTypes System.Type
paramArguments object
return void

AddMemberOptions() public method

public AddMemberOptions ( MemberOptions>.Dictionary options ) : void
options MemberOptions>.Dictionary
return void

AddReference() public method

public AddReference ( string assemblyPath ) : void
assemblyPath string
return void

AddReference() public method

public AddReference ( string fromAssemblyPath, string referenceName ) : void
fromAssemblyPath string
referenceName string
return void

AddSearchDirectory() public method

public AddSearchDirectory ( string directory ) : void
directory string
return void

AssemblyWeaver() public method

public AssemblyWeaver ( ) : System
return System

AssemblyWeaver() public method

public AssemblyWeaver ( string targetAssemblyPath ) : System
targetAssemblyPath string
return System

CloneMembers() public method

public CloneMembers ( List clones ) : void
clones List
return void

CopyAssembly() public method

public CopyAssembly ( string origAssemblyPath ) : void
origAssemblyPath string
return void

CopyTypes() public method

public CopyTypes ( string origAssemblyPath, IEnumerable types, bool areStubTypes = false ) : void
origAssemblyPath string
types IEnumerable
areStubTypes bool
return void

GetReferences() public static method

public static GetReferences ( string assemblyPath ) : HashSet
assemblyPath string
return HashSet

MergeTypes() public method

public MergeTypes ( string origAssemblyPath, TypeSignature>.Dictionary types ) : void
origAssemblyPath string
types TypeSignature>.Dictionary
return void

Write() public method

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