Kris' Blog

RSS feed

GameServiceContainer.​GetService<T>() please…

One of the most annoying parts of the XNA framework is that the GameServiceContainer lacks generics. After working with Castle container, the XNA container seems ugly.

If .Net had mixins I would just add it myself but until then please vote for my feature request and here is a workaround.

If you have trouble with the Microsoft Connect link, click on the My Participation link to add a connection.


No Comments »

No comments yet.

Leave a comment