real code example of Delegate factory from Autofacs website