This project has moved and is read-only. For the latest updates, please go here.

ISimpleIoc should contain GetInstance method

Mar 2, 2016 at 12:42 PM
Why ISimpleIoc interface does not contain something as basic as GetInstance(Of T) method for getting registered instance?
Mar 2, 2016 at 1:09 PM
Historically, the idea of most IOC containers was that people would use the ServiceLocator to get access to instances. But I agree with you, these days people are coming away a bit of the CommonServiceLocator pattern and many don't mind using ISimpleIoc all over. I will add the Get methods to it in a future version. Thanks for the feedback.
Marked as answer by ondrej on 3/2/2016 at 5:40 AM