private void InitialiseControllers() { _superGraphController = new SuperGraphController(_mapManager, SecurityManager, _themeManager, VideoSource); _superGraphController.ModelChanged += SuperGraph.ModelChanged; _superGraphController.MapLoadCompleted += MapLoadCompleted; _superGraphController.PermissionLoaded += SuperGraphControllerOnPermissionLoaded; IoC.RegisterComponent <ISuperGraphNodeFactory>(_superGraphController); IoC.RegisterComponent <ISuperGraphRelationshipFactory>(_superGraphController); IoC.RegisterComponent <ISuperGraphNodeBatchOperations>(_superGraphController); IoC.RegisterComponent <ISuperGraphNodeOperations>(_superGraphController); IoC.RegisterComponent(Breadcrumbs); IsInitialised = true; }
private void InitialiseControllers() { _superGraphController = new SuperGraphController(_mapManager, SecurityManager, _themeManager, VideoSource); _superGraphController.ModelChanged += SuperGraph.ModelChanged; _superGraphController.MapLoadCompleted += MapLoadCompleted; _superGraphController.PermissionLoaded += SuperGraphControllerOnPermissionLoaded; IoC.RegisterComponent<ISuperGraphNodeFactory>(_superGraphController); IoC.RegisterComponent<ISuperGraphRelationshipFactory>(_superGraphController); IoC.RegisterComponent<ISuperGraphNodeBatchOperations>(_superGraphController); IoC.RegisterComponent<ISuperGraphNodeOperations>(_superGraphController); IoC.RegisterComponent(Breadcrumbs); IsInitialised = true; }