protected override void BeginVisit(IGroupDocuments cn) { if (cn is INodeGenSettings) { _act(cn as INodeGenSettings); } }
protected override void EndVisit(IGroupDocuments cn) { var p = (GroupDocuments)cn; if (p.IsHasMarkedForDeletion && p.IsHasNew) { var lst = p.GroupListDocuments.ListDocuments.ToList(); foreach (var t in lst) { if (t.IsMarkedForDeletion && t.IsNew) { p.GroupListDocuments.ListDocuments.Remove(t as Document); } } var lst2 = p.GroupSharedProperties.ListProperties.ToList(); foreach (var t in lst2) { if (t.IsMarkedForDeletion && t.IsNew) { p.GroupSharedProperties.ListProperties.Remove(t as Property); } } } }
protected virtual void EndVisit(IGroupDocuments cn) { }
protected virtual void BeginVisit(IGroupDocuments cn) { }