Events in the CAB (Introduction to CAB/SCSF Part 12)

Introduction Part 11 of this series of articles gave a general introduction to events in the CAB. This article investigates what we can do with these events in a little more detail. Parameters of the Fire Method As shown in part 11, the Fire method has four parameters: workItem.EventTopics["MyEvent"].Fire(this, EventArgs.Empty, null, PublicationScope.Global); The first two … Continue reading Events in the CAB (Introduction to CAB/SCSF Part 12)

Introduction to Events in the CAB (Introduction to CAB/SCSF Part 11)

Introduction Part 10 of this series of articles described how the CAB implements commands. The CAB also provides a new way of raising and sinking events. This article will describe how this works. Overview of events in .NET Events in .NET are a publish-subscribe mechanism. We declare an event in a publisher class, instantiate the … Continue reading Introduction to Events in the CAB (Introduction to CAB/SCSF Part 11)