Object builder

Topics: CAB & Smart Client Software Factory
Jan 9, 2006 at 2:03 AM
originally posted by: _Umka

How to CAB add workspaces to the WorkItem.Workspaces collection? I never code found that call Workspaces.Add method.

Also interesting what function of Policy classes and Locator... Where is I can find documentation or review about ObjectBuilder?
Jan 9, 2006 at 10:21 AM
originally posted by: jburtch

It looks like CAB adds workspaces automatically via the ControlSmartPartStrategy class from within the ObjectBuilder. If you are looking for some calls to Workspaces.Add, look at some of the unit tests. Particularly the WorkspaceFixture in CompositeUI.Tests.VSTS.

Lab 8 of the HOL talks about how the ObjectBuilder works. It's a good primer. Also, look at the Unit Tests for the ObjectBuilder project

Justin Burtch