ServiceLocator.ResolveType<>

May 3, 2013 at 9:58 AM
Updated to the newest version of catel.

Get an error on ServiceLocator.ResolveType<IMyType>

Method does not have Type Parameters. Has this changed? Why?
Coordinator
May 3, 2013 at 11:16 AM
Yeah, you have to include the namespace Catel.IoC (ReSharper will hint you for this). See the release notes for this:

https://github.com/Catel/Catel/blob/master/doc/history.txt
May 3, 2013 at 1:41 PM
Ok. Thanks. But Resharper give me no hint.