Пример #1
0
        protected virtual void OnSourceSet()
        {
            if (_Source != null)
            {
                if (Destination != null)
                {
                    _Equality = Destination.Compare(_Source);
                    if (_Equality.Blocking)
                    {
                        _ImageIndex = MajorConflict;
                        return;
                    }

                    if (_Equality.Major)
                    {
                        _ImageIndex = MinorConflict;
                        return;
                    }
                }

                if (Destination == null)
                {
                    _ImageIndex = 2;
                }
            }
        }