示例#1
0
        protected override async Task <IProject> ReadFromLocationAsync(string location)
        {
            var entityRecords = await _fileReaderService.ReadAsync(location);

            var text = await _rawFileService.ReadAllTextAsync(location);

            var project = new PackageListProject(location);

            project.RawContent = text;

            InitializeProjectContent(project, entityRecords);

            await _projectManager.SetActiveProjectAsync(project);

            return(project);
        }