예제 #1
0
        public IBreakPoint FromDto(BreakPointDto dto)
        {
            if (dto.Condition != null)
            {
                return(new ConditionalBreakPoint(
                           new Word(dto.Address),
                           dto.Name,
                           ConditionExpression.Parse(dto.Condition)));
            }

            return(new BreakPoint(new Word(dto.Address), dto.Name));
        }