While working on new baby ‘Interface’ identified few difference between Events and interface.
EVENTS | INTERFACE |
---|---|
Select Events to Subscribe. Subscription optional. | All Methods are mandatory defined in interface code unit and need to implement all |
Used to react | Used to Invoke. |
Extensibility for few methods or functions | Extensibility for many methods. |
All Subscribers are invoked | Only single code… |
Continue Reading Ammolh Saallvi’s Article on their blog
Events vs Interface :- Business Central
While working on new baby ‘Interface’ identified few difference between Events and interface. EVENTSINTERFACESelect Events to Subscribe. Subscription optional.All Methods are mandatory defined in interface code unit and need to implement allUsed to react Used to Invoke.Extensibility for few methods or functionsExtensibility for many methods.All Subscribers are invokedOnly single code unit is invoked.Can Invoke Interface.Can…
Blog Syndicated with Ammolh Saallvi’s Permission