Пример #1
0
        public static OmniSharpProject Create(ISolution solution, string path, AvalonStudio.Languages.CSharp.OmniSharp.Project project)
        {
            OmniSharpProject result = new OmniSharpProject();

            result.Solution = solution;
            result.Location = path;

            result.LoadFiles();

            return(result);
        }
Пример #2
0
        public static OmniSharpProject Create(ISolution solution, string path, AvalonStudio.Languages.CSharp.OmniSharp.Project project)
        {
            OmniSharpProject result = new OmniSharpProject();

            result.Solution = solution;
            result.Location = path;

            result.LoadFiles();

            //foreach(var file in project.SourceFiles)
            //{
            //    var sourceFile = File.FromPath(result, result, file.ToPlatformPath());
            //    result.SourceFiles.InsertSorted(sourceFile);
            //    result.Items.Add(sourceFile);
            //}

            return(result);
        }