コード例 #1
0
        protected override void AfterSaveChangesUI()
        {
            if (SeoStepViewModel != null)
            {
                SeoStepViewModel.SaveSeoKeywordsChanges();
            }

            // just basic properties inject is enough. Injecting collections can generate repository errors.
            OriginalItem.InjectFrom(InnerItem);
            _parentTreeVM.RefreshUI();
        }
コード例 #2
0
        protected override void AfterSaveChangesUI()
        {
            if (_parent != null)
            {
                OriginalItem.InjectFrom <CloneInjection>(InnerItem);
                _parent.RefreshItem(OriginalItem);
            }

            if (SeoStepViewModel != null)
            {
                SeoStepViewModel.SaveSeoKeywordsChanges();
            }
        }