Свойство | Type | Description | |
---|---|---|---|
modificationAssemblyGlob | IEnumerable |
||
readerParams | ReaderParameters | ||
resolver |
Méthode | Description | |
---|---|---|
AllowDuplicateModificationTypes ( System allowedTypes ) : void |
This will allow ILRepack to merge all our modifications into one assembly. In our case we define hooks in the same namespace across different modification assemblies, and of course ILRepack detects the conflict. By enumerating each type of the modifications, we add each full name to the allowed list.
|
|
Patcher ( string sourceAssemblyPath, IEnumerable |
Creates a new instance of the patcher with the specified source assembly path and a glob containing all the modification assemblies.
|
|
Run ( ) : void |
Méthode | Description | |
---|---|---|
Cleanup ( ) : void |
Cleans up data after a successful patch
|
|
GlobModificationAssemblies ( ) : IEnumerable |
||
LoadModification ( |
||
LoadModificationAssemblies ( ) : void | ||
LoadSourceAssembly ( ) : void | ||
PackAssemblies ( ) : void | ||
RemoveModificationsFromPackedAssembly ( ) : void |
Removes all ModificationBase implementations from the output assembly. Additionally it will also remove references that were added due to ModificationBases being merged in.
|
|
RunModifications ( ) : void | ||
SaveSourceAssembly ( ) : void |
Méthode | Description | |
---|---|---|
CurrentDomain_AssemblyLoad ( object sender, |
||
CurrentDomain_AssemblyResolve ( object sender, |
||
Resolver_OnResolved ( object sender, |
||
Resolver_ResolveFailure ( object sender, Mono.Cecil.AssemblyNameReference reference ) : |
public AllowDuplicateModificationTypes ( System allowedTypes ) : void | ||
allowedTypes | System | |
Résultat | void |
protected GlobModificationAssemblies ( ) : IEnumerable |
||
Résultat | IEnumerable |
protected LoadModification ( |
||
type | ||
Résultat | ModificationBase |
protected LoadModificationAssemblies ( ) : void | ||
Résultat | void |
public Patcher ( string sourceAssemblyPath, IEnumerable |
||
sourceAssemblyPath | string | Path to the source assembly that modifications need to applied to |
modificationAssemblyGlob | IEnumerable |
A list of globs that yields a list of modifications |
outputAssemblyPath | string | Path for the modified assembly to be saved |
Résultat | Mono.Cecil |
protected RemoveModificationsFromPackedAssembly ( ) : void | ||
Résultat | void |
protected IEnumerable |
||
Résultat | IEnumerable |
protected ReaderParameters readerParams | ||
Résultat | ReaderParameters |