Importing the same instance

Jul 8, 2011 at 5:32 PM

Goor morning,

How can I import an object in two different classes that has the same reference ?

I tried to use the CreationPolicy.Shared but it does not work.


Regards,

Steven

Aug 1, 2011 at 6:13 PM

Steven

CreationPolicy.Shared is designed for instance sharing, so - assuming I understand your scenario correctly - it should fit your needs.

Perhaps you can tell us more about what you are trying to achieve and how you are trying to do that?

Thanks

Oleg