C. Simplest Example: My Own Time Service

  1. 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 ...

Get Programming Microsoft® Composite UI Application Block and Smart Client Software Factory now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.