Understanding Isolation Aspects
Isolation Aspects are instances of a specific 'Aspect'. Each 'Aspect' takes care of one aspect of the platform that needs isolation.
For example, you can have an aspect that deals with a specific namespace in the system, or an aspect that deals with a specific type in the system.
Examples from the SilverUnit project (Cthru-Silverlight) include such aspects as:
- An Aspect that deals specifically with skipping all methods under the XcpImports namespace
- An Aspect that deals specifically with skipping all methods under the TracingServices Type
- An Aspect that isolates properties and events all types that derive from DependencyObject
- An Aspect that replaces all instances of DispatcherTimer with a Fake version that calls a regular .NET Timer
- An aspect that handles all types that derive from ItemsControl, and sets their get_Items property to return a fake collection