Extending Microsoft Dynamics 365 Finance and Supply Chain Management Cookbook - Second Edition
by Simon Buxton
How this works...
The term extension is used specifically to avoid confusion with the extends keyword. Extension classes are augmentation classes that are automatically instantiated in place of the standard class. There is no access to private methods, but we can add state variables and access them along with the form's public variables and methods.
The class name starts with the class name we are augmenting, by convention. This is, in part, so that we can easily see all of the extension classes together in the Application Explorer; the middle part of the name is so that we can easily see which package and project the class belongs to.
Extension classes started out as augmentations (decoration) to standard classes, and we would add state ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access