PreviouslySCAB reference system (or central storage) was entirely based on ScabApplication.Resourcescollection. This collection is implemented in the Application.ResourcesSilverlight native class. The last investigations show that ScabApplication.Resourcesdoes not support all the necessary functionality. For example it cannot refer the DependencyObject included into the Xaml at another place. You can find the problem desctiption at http://silverlight.net/forums/p/21026/73314.aspx.
ScabApplicationsince 2.0.1.2 includes _referenceSystem dictionary and supports RegisterType, RegisterInstance, IsRegistered, Resolve,Resolve<T> methods to access it.
The best practice is to work with modules and services throughScabApplication.Resources and to work with Xaml elements throughScabApplication reference system.
The last Scab revision you can find at Downloads page.
Currently rated 3.0 by 1 people
- Currently 3/5 Stars.
- 1
- 2
- 3
- 4
- 5