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);
|
return Converter.Convert(interfaceType, type, _instance);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
if (_instance != null && type == _instance.GetType())
|
||||||
|
{
|
||||||
|
return _instance;
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue