views:

35

answers:

1

Hello,

I have different interfaces defined in a seperate class library(assembly) and those needs to be implemented in a different process by classes defined in that process.

Problem is interfaces defined in a seperate class library(assembly) and must be implemented in a different CLR process(assembly)? What I need to do ? just adding class library as reference will do the job? Any extra thing I need to mention in order to tell my classes defined in CLR process(assembly) that classes must implement interfaces which are defined in a seperate Class library(assembly) which's included as reference. My environment is C++/CLI

Regards Usman

+1  A: 

You should just be able to add the class library as a reference to the project. There's nothing more to it than that - just implement the interface as normal.

Note that assemblies aren't "CLR processes" - many assemblies are loaded into the same process, and even into the same AppDomain.

Jon Skeet
Thanks Jon for answering.
Usman