Ejemplo n.º 1
0
        private void SyncParamsPendingDeleteWithBodyNodes(List <AppModelParameter> paramList)
        {
            APIModelBodyNodeSyncPage bodyNodeSyncPage;

            bodyNodeSyncPage = new APIModelBodyNodeSyncPage((ApplicationAPIModel)mApplicationModel, paramList);
            bodyNodeSyncPage.ShowAsWindow();
        }
Ejemplo n.º 2
0
        private void SyncParamsPendingDeleteWithBodyNodes(List <AppModelParameter> paramList)
        {
            bool someParamContainPath = false;

            foreach (AppModelParameter param in paramList)
            {
                if (!string.IsNullOrEmpty(param.Path))
                {
                    someParamContainPath = true;
                }
            }

            APIModelBodyNodeSyncPage bodyNodeSyncPage;

            if (someParamContainPath)
            {
                bodyNodeSyncPage = new APIModelBodyNodeSyncPage((ApplicationAPIModel)mApplicationModel, paramList);
                bodyNodeSyncPage.ShowAsWindow();
            }
        }