Created
June 1, 2012 02:16
-
-
Save glikoz/2848102 to your computer and use it in GitHub Desktop.
Generic interface registration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
container.Register <IRep<T>>(c => new Rep<T>())); /// Exception :) | |
container.RegisterAllTypesOf<IRep> (....) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment