Skip to content

Instantly share code, notes, and snippets.

@dcomartin
Last active August 29, 2015 14:19
Embed
What would you like to do?
Unity RegisterType IMediator
container.RegisterType<IMediator>(new InjectionFactory(x => new Mediator(() => new UnityServiceLocator(x))));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment