public void Initialize(RepositoryDllJsonStrategy strategyRepository, IStatusReporter statusReporter) {
			this.strategyRepository = strategyRepository;
			this.statusReporter = statusReporter;
			
			bool createdNewFile = this.dataSnapshotSerializer.Initialize(this.strategyRepository.RootPath,
				"Sq1.Widgets.StrategiesTree.StrategiesTreeDataSnapshot.json", "Workspaces",
				Assembler.InstanceInitialized.AssemblerDataSnapshot.CurrentWorkspaceName, false, true);
			this.dataSnapshot = this.dataSnapshotSerializer.Deserialize();
			
			this.populateStrategyRepositoryIntoTreeListView();
		}
Ejemplo n.º 2
0
        public void Initialize(RepositoryDllJsonStrategy strategyRepository, IStatusReporter statusReporter)
        {
            this.strategyRepository = strategyRepository;
            this.statusReporter     = statusReporter;

            bool createdNewFile = this.dataSnapshotSerializer.Initialize(this.strategyRepository.RootPath,
                                                                         "Sq1.Widgets.StrategiesTree.StrategiesTreeDataSnapshot.json", "Workspaces",
                                                                         Assembler.InstanceInitialized.AssemblerDataSnapshot.CurrentWorkspaceName, false, true);

            this.dataSnapshot = this.dataSnapshotSerializer.Deserialize();

            this.populateStrategyRepositoryIntoTreeListView();
        }