doubt in namespace

  • Thread starter Thread starter Baskar RajaSekharan
  • Start date Start date
B

Baskar RajaSekharan

Hi,
I want to use IMyExtenderInterface Please let me know what namespace
i can include in my project.

This is mainly for using Activate.CreateObject method in my project.
 
Baskar,

If you are creating the type (which you are), then you can place it in
any namespace you wish. Once you place it in a namespace, the full name of
the type will be the namespace the type is in, plus the name of the
containing type (if any), then the name of the type itself.

If you are using the static CreateObject method on the Activate class,
because you want some sort of generic plug in architecture, then your
interface should be defined in an assembly that doesn't contain any
implementation details.

Hope this helps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top