Esempio n. 1
0
        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);
                }
            }
        }
Esempio n. 2
0
        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);
            }
        }
Esempio n. 3
0
        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);
                        }
                    }
                }
            }
        }
Esempio n. 4
0
 private void FindItemsFromContextSearchedItem()
 {
     mFindAndReplaceUtils.FindItemsByReflection(mContextSearchedItem, mContextSearchedItem, mFoundItemsList, mFindWhat, mSearchConfig, mContextSearchedItem, string.Empty, string.Empty);
 }