Skip to content

Instantly share code, notes, and snippets.

@rohits79
Created June 15, 2016 00:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rohits79/09631783494e63cf05e5d175daf52494 to your computer and use it in GitHub Desktop.
Save rohits79/09631783494e63cf05e5d175daf52494 to your computer and use it in GitHub Desktop.
-- Register
unityContainer.RegisterType<object, SomeView>("viewName");
unityContainer.RegisterType<object, SomeOtherView>("someOtherViewName");
-- Usage
regionManager.RequestNavigate("Navigation", "viewName");
regionManager.RequestNavigate("Navigation", "someOtherViewName");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment