Added code for the k10 case in FeatureObject.
This commit is contained in:
parent
4ce1423b1c
commit
370a6b7ba3
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue