private void FindFieldsFromAllActionsOnApplicationModelsList(ObservableList <FoundItem> foundItemsList, List <string> ValuesToFind, SearchConfig searchConfig) { FindAndReplaceUtils findAndReplaceUtils = new FindAndReplaceUtils(); foreach (ApplicationAPIModel AAM in mApplicationAPIModels) { foreach (string VTF in ValuesToFind) { string path = "API Models" + @"\" + AAM.ItemName; findAndReplaceUtils.FindItemsByReflection(AAM, AAM, foundItemsList, VTF, searchConfig, AAM, path, string.Empty); } } }
private void FindItems() { mItemsToSearchIn.Clear(); mMainItemType.GetItemsToSearchIn(); foreach (ItemToSearchIn searchItem in mItemsToSearchIn) { if (mFindAndReplaceUtils.ProcessingState == FindAndReplaceUtils.eProcessingState.Stopping) { return; } mFindAndReplaceUtils.FindItemsByReflection(searchItem.OriginItemObject, searchItem.Item, mFoundItemsList, mFindWhat, mSearchConfig, searchItem.ParentItemToSave, string.Empty, searchItem.FoundField); } }
private void FindFieldsFromAllActionsOnBusinessFlowsList(ObservableList <FoundItem> foundItemsList, List <string> ValuesToFind, SearchConfig searchConfig) { FindAndReplaceUtils findAndReplaceUtils = new FindAndReplaceUtils(); foreach (BusinessFlow BF in mBFList) { foreach (Activity activitiy in BF.Activities) { foreach (Act action in activitiy.Acts) { string Path = activitiy.ActivityName + @"\" + action.ItemName; foreach (string VTF in ValuesToFind) { findAndReplaceUtils.FindItemsByReflection(action, action, foundItemsList, VTF, searchConfig, BF, Path, string.Empty); } } } } }
private void FindItemsFromContextSearchedItem() { mFindAndReplaceUtils.FindItemsByReflection(mContextSearchedItem, mContextSearchedItem, mFoundItemsList, mFindWhat, mSearchConfig, mContextSearchedItem, string.Empty, string.Empty); }