Micro dependency injection framework for portable class libraries