private void SyncParamsPendingDeleteWithBodyNodes(List <AppModelParameter> paramList) { APIModelBodyNodeSyncPage bodyNodeSyncPage; bodyNodeSyncPage = new APIModelBodyNodeSyncPage((ApplicationAPIModel)mApplicationModel, paramList); bodyNodeSyncPage.ShowAsWindow(); }
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(); } }