Beispiel #1
0
        public override void PostOperate(IList references)
        {
            _owner.DependencyManager.AddRangeLinks();
            IList circularRefs = new ArrayList();

            foreach (Reference @ref in references)
            {
                if (_owner.DependencyManager.IsCircularReference(@ref))
                {
                    circularRefs.Add(@ref);
                }
            }

            if (circularRefs.Count > 0)
            {
                _owner.OnCircularReferenceDetected(circularRefs);
            }
        }