Boo.BooLangProject.BooProjectSources.Find C# (CSharp) Method

Find() public static method

Finds a project in the loaded projects collection that contains the specified file.
public static Find ( string file ) : BooProjectSources
file string Path of a file to find in a project.
return BooProjectSources
        public static BooProjectSources Find(string file)
        {
            foreach (var project in LoadedProjects)
            {
                if (project.HasFile(file))
                    return project;
            }

            return null;
        }