Represents a Boo project, in terms of source files and parsing. Acts as a facade over the boo compiler, to allow easier compilation of all the Boo files in a project.
Пример #1
0
        public override void Load(string fileName, string location, string name, uint flags, ref Guid iidProject, out int canceled)
        {
            // this needs to be instantiated before the base call, and then start watching
            // the hierarchy after. This is because the base.Load call hits the AddChild
            // method of the references, which add to the project sources. The watching
            // needs to start after the base call because if it's started before, then there
            // aren't any files added yet!
            projectSources = new BooProjectSources(languageService);

            base.Load(fileName, location, name, flags, ref iidProject, out canceled);

            projectSources.StartWatchingHierarchy(InteropSafeHierarchy);

            BooProjectSources.LoadedProjects.Add(projectSources);
        }