프로젝트

일반

사용자정보

개정판 3d918d31

ID3d918d312f56504425437f790f7753155f2573bb
상위 b10671a4
하위 df2e7646

김태성이(가) 5년 이상 전에 추가함

RequirementView layout 변경

Change-Id: Ia66696cbb15d4632fb8a0003702b04f1d6fce39a

차이점 보기:

KCOM/Converters/StringMultiLineConvert.cs
20 20

  
21 21
                //var array = str.Split(new char[] { '\\', 'n' }, StringSplitOptions.RemoveEmptyEntries);
22 22
                var array = System.Text.RegularExpressions.Regex.Split(str, "\n");
23
                array.ToList().ForEach(x => builder.AppendLine(x));
23

  
24
                int takeLineCount = array.Count();
25

  
26
                if (parameter != null)
27
                {
28
                    int.TryParse(parameter.ToString(), out takeLineCount);
29
                }
30

  
31
                array.Take(takeLineCount).ToList().ForEach(x => builder.AppendLine(x));
24 32
            }
25 33

  
26 34
            return builder.ToString();

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)