PKStudio.PortingKitWrapper.SearchInLibraryCategories C# (CSharp) Method

SearchInLibraryCategories() private method

Searchs in LibraryCategories
private SearchInLibraryCategories ( SearchWhere where, string what, bool MatchCase, bool MatchWholeWord ) : void
where SearchWhere
what string
MatchCase bool
MatchWholeWord bool
return void
        private void SearchInLibraryCategories(SearchWhere where, string what, bool MatchCase, bool MatchWholeWord)
        {
            if ((where == SearchWhere.All) || (where == SearchWhere.PKDatabase))
            {
                foreach (LibraryCategoryWrapper LCW in m_inv.LibraryCategories)
                {
                    this.CheckLibraryCategory(LCW, what, MatchCase, MatchWholeWord);
                }
            }

            if ((where == SearchWhere.All) || (where == SearchWhere.Solution))
            {
                if (Solution != null)
                {
                    foreach (ProjectWrapper PW in Solution.Projects)
                    {
                        foreach (ComponentWrapper CW in PW.LibraryCategories)
                        {
                            LibraryCategoryWrapper LCW = this.FindLibraryCategory(CW.Guid);
                            if ((LCW != null))// && (!Libs.Contains(LW)))
                            {
                                SearchResultsHolder.SearchComponentDescriptor ProjectDesc = new SearchResultsHolder.SearchComponentDescriptor();
                                ProjectDesc.Component = ComponentWrapper.GetComponentWrapper(PW);
                                ProjectDesc.Parent = new SearchResultsHolder.SearchComponentDescriptor(null, ComponentWrapper.GetComponentWrapper(Solution));
                                this.CheckLibraryCategory(ProjectDesc, LCW, what, MatchCase, MatchWholeWord);
                            }
                        }
                    }
                }
            }
        }
PortingKitWrapper