Jump to content
  • Advertisement
Sign in to follow this  
Nikster

[.net] Interfaces, dlls and statics.

This topic is 2572 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I have some dlls and I have an interface between these and my main application, what I'm wanting to do is be-able to get a marker on these dlls so I can store the types in a dictionary for when I need to create/invoke them.

For example, before I moved over to dlls these were embedded classes and each had a static which returned a string like "Animal" or "Vehicle", so is there anyway to be-able to enforce by contract that a dll must contain a static method or member? Obviously you're unable to do this with interfaces but I'd like the option to be-able to query this information without the need to create an instance of the class before hand.

My main application has no knowledge of "Animal" or "Vehicle" but these tags are used in my main application to act as a delegate between varying dlls.

Thanks.

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!