Use Autofac to achieve strategy pattern.