C. Simplest Example: My Own Time Service
I wrote the simplest example I can think of to illustrate the operation of the action catalog service. You can find it in the Chapter 7 sample code.
To set up the action catalog service, you must first tell the CAB object builder to activate and use that service. You do this differently from the way you activate other services because it affects the underlying object builder.
In the shell application object, you must override the AddBuilderStrategies method. You must then add a new object building strategy to for the object builder to use at initialization time. This type of code is executed in the CAB internal startup code for the other object creation strategies, which you can see if you step into it. In ...