[ClassInterface(ClassInterfaceType.None)]
[Guid("12C969B3-330D-4230-ACDA-F9BED3286B1E")]
[ProgId("Lib.Class")]
public class MyService : ServicedComponent, IMyService
{
...
}
Unit Test:
MyService target = new MyService ();
This code creates a TransparentProxy object, which is how the component should run in production.
How can I create an instance of the class in-process and local, such that I can inject its dependencies?