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)); }