예제 #1
0
        public void Visit(IObjectBase objToVisit)
        {
            if (!_representationInfoRepository.ContainsInfoFor(objToVisit))
            {
                return;
            }

            var repInfo = _representationInfoRepository.InfoFor(objToVisit);

            objToVisit.Icon = repInfo.IconName;

            if (string.IsNullOrEmpty(objToVisit.Description))
            {
                objToVisit.Description = repInfo.Description;
            }
        }