Esempio n. 1
0
        public ProjectContext(string projectSettingsPath, IContainer parentContainer)
        {
            SettingsPath = projectSettingsPath;
            BuildSubContainerForThisProject(projectSettingsPath, parentContainer);

            ProjectWindow = _scope.Resolve <Shell>();

            string collectionDirectory = Path.GetDirectoryName(projectSettingsPath);

            //should we save a link to this in the list of collections?
            var collectionSettings = _scope.Resolve <CollectionSettings>();

            if (collectionSettings.IsSourceCollection)
            {
                AddShortCutInComputersBloomCollections(collectionDirectory);
            }

            _httpServer.StartWithSetupIfNeeded();
        }