This is an excerpt from Manning's book Dependency Injection. Login to get full access to this book.
The CreateCurrencyParser method exists for the express purpose of wiring up all Dependencies for the UpdateCurrency program. The following listing shows the implementation.
CreateCurrencyParser