コード例 #1
0
ファイル: MainPage.xaml.cs プロジェクト: chris-tomich/Glyma
 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;
 }
コード例 #2
0
ファイル: MainPage.xaml.cs プロジェクト: chris-tomich/Glyma
 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;
 }