User's Guide


Unlinking all instances of a specific method

You can instruct ENVY/App to remove a specific method when unloading components into an image component file or byte array. You use the method unlinkMethods: as shown in the following code fragment:

"Unlink addApplicationsToList and unload the resulting code into removed.ic."
| result |
(result := ApplicationDumper new)
 
   dumpApplications: (Array with: Chooser);
   unlinkMethods: (Array with: Chooser>>#addApplicationsToList);
   ...
   dumpIntoFileNamed: 'removed.ic' path: '.' using: ComponentMaps.
   ...


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]