|
-
Jul 14th, 2011, 03:52 AM
#2
Re: Getting Assembly of an instance
Normally, B has a reference to A, therefore C also has to have a reference to A.
You are right when assuming that you can only get a type (class) through refelection. In order to obtain an instance your C assembly should also have a reference to the assembly that holds the type. You can then marshal your instance or serialize it and transfer from B to C.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|