Rolled my own service locator in C#