private void InitializeNavigator(Guid nodeId, Guid domainId) { ThemeManager themeManagementObject = IoC.IoCContainer.GetInjectionInstance().GetInstance <ThemeManager>(); themeManagementObject.LoadTheme("Generic"); _navigator = new SingleDepthNavigator(_nodeService, themeManagementObject, domainId); IoC.IoCContainer.GetInjectionInstance().RegisterComponent <SingleDepthNavigator>(_navigator); if (NavigatorInitialised != null) { NavigatorInitialised.Invoke(this, new EventArgs()); } _navigator.SetCurrentNode(nodeId); _navigator.GetCurrentNodesCompleted += new EventHandler <RendererNodesEventArgs>(OnGetCurrentNodesCompleted); _navigator.GetCurrentNodesAsync(); }
private void InitializeNavigator(Guid nodeId, Guid domainId) { ThemeManager themeManagementObject = IoC.IoCContainer.GetInjectionInstance().GetInstance<ThemeManager>(); themeManagementObject.LoadTheme("Generic"); _navigator = new SingleDepthNavigator(_nodeService, themeManagementObject, domainId); IoC.IoCContainer.GetInjectionInstance().RegisterComponent<SingleDepthNavigator>(_navigator); if (NavigatorInitialised != null) { NavigatorInitialised.Invoke(this, new EventArgs()); } _navigator.SetCurrentNode(nodeId); _navigator.GetCurrentNodesCompleted += new EventHandler<RendererNodesEventArgs>(OnGetCurrentNodesCompleted); _navigator.GetCurrentNodesAsync(); }