Added code for the k10 case in FeatureObject.

This commit is contained in:
David Fowler 2014-02-01 03:09:04 -08:00
parent 4ce1423b1c
commit 370a6b7ba3
1 changed files with 5 additions and 0 deletions

View File

@ -40,6 +40,11 @@ namespace Microsoft.AspNet.FeatureModel
return Converter.Convert(interfaceType, type, _instance);
}
}
#else
if (_instance != null && type == _instance.GetType())
{
return _instance;
}
#endif
return null;
}