1

Closed

SimpleIoC.GetService throws instead of returning null for nonexistent service

description

According to documentation of SimpleIoC.GetService inherited via System.ServiceProvider.GetService() it ought to return null when service is not registered yet SimpleIoC throws ActivationException.
Closed Feb 15, 2015 at 6:12 PM by lbugnion

comments

lbugnion wrote Feb 6, 2015 at 2:59 PM

Updated the documentation to reflect the (correct) behavior of throwing ActivationException (per the CommonServiceLocator interface definition). Will be in V5.1.

lbugnion wrote Feb 6, 2015 at 5:13 PM

DLLs are available here:
http://1drv.ms/1ylP1TS

Nuget will be updated ASAP.