public void Initialize(IServiceLocator serviceLocator)
{
Argument.IsNotNull("serviceLocator", serviceLocator);
serviceLocator.RegisterTypeIfNotYetRegistered<IDataContextSubscriptionService, DataContextSubscriptionService>();
serviceLocator.RegisterTypeIfNotYetRegistered<ICommandManager, CommandManager>();
serviceLocator.RegisterTypeIfNotYetRegistered<IViewLoadManager, ViewLoadManager>();
serviceLocator.RegisterTypeIfNotYetRegistered<IViewModelWrapperService, ViewModelWrapperService>();
serviceLocator.RegisterTypeIfNotYetRegistered<IViewManager, ViewManager>();
serviceLocator.RegisterTypeIfNotYetRegistered<IViewModelManager, ViewModelManager>();
serviceLocator.RegisterTypeIfNotYetRegistered<IAutoCompletionService, AutoCompletionService>();
#if !XAMARIN && !WIN80
serviceLocator.RegisterTypeIfNotYetRegistered<IInteractivityManager, InteractivityManager>();
#endif
ViewModelServiceHelper.RegisterDefaultViewModelServices(serviceLocator);
DesignTimeHelper.InitializeDesignTime();
}
}