Skip to content

Instantly share code, notes, and snippets.

@joladev
Last active December 26, 2015 18:29
Show Gist options
  • Save joladev/7194626 to your computer and use it in GitHub Desktop.
Save joladev/7194626 to your computer and use it in GitHub Desktop.
OO
ProfileLoaderConfigurationManagerFactory plcmf = new ProfileLoaderConfigurationManagerFactory();
ProfileLoaderConfigurationManager pclm = pclmf.GetProfileLoaderConfigurationManager();
ContextWrapperManagerFactoryProxy cwmfp = ContextWrapperManagerFactoryProxy.GetContextWrapperManager();
ContextWrapper cw = cwmfp.GetContextWrapper(context);
GetProfileLoaderContextApplicationManager gplcam = GetProfileLoaderContextApplicationManagerFactory.GetProfileLoaderContextApplicationManager();
ProfileLoader loader = gplcam.CallGetProfileLoaderWithContextWrapper(pclm, cw);
UserProfile profile = loader.GetUserProfile();
@stinaq
Copy link

stinaq commented Oct 28, 2013

So pretty

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment