This project has moved and is read-only. For the latest updates, please go here.

Importing the same instance

Jul 8, 2011 at 6: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.



Aug 1, 2011 at 7:13 PM


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?