Interface IPatch
- Namespace
- AsmResolver.Patching
- Assembly
- AsmResolver.dll
Provides a mechanism for patching an instance of ISegment after it was serialized into its binary representation.
public interface IPatchMethods
Apply(in PatchContext)
Applies the patch.
void Apply(in PatchContext context)Parameters
- contextPatchContext
- The context in which to 
UpdateOffsets(in RelocationParameters)
Assigns a new file and virtual offset to the segment and all its sub-components.
void UpdateOffsets(in RelocationParameters parameters)Parameters
- parametersRelocationParameters
- The parameters containing the new offset information for the segment.