By perusing the source code (or using Reflector) or consulting the documentation (ick!) we may finally discover that we need to register an IOrderValidator instance with Locator (a completely unrelated static class) before this will work.
http://blog.ploeh.dk/2010/02/03/ServiceLocatorIsAnAntiPattern.aspx
No comments:
Post a Comment