예제 #1
0
파일: MetaText.cs 프로젝트: xycui/LPFS
 protected MetaText(string rawText, SplitDel splitDel)
 {
     _splitDel = splitDel;
     RawText   = rawText;
     _atomList = splitDel(new List <TextUnit> {
         TextUnit.CreateUnit(rawText)
     }).ToList();
 }
예제 #2
0
파일: MetaText.cs 프로젝트: xycui/LPFS
        public static MetaText CreateMetaText(string rawText, SplitDel splitDel)
        {
            var metaText = new MetaText(rawText, splitDel);

            return(metaText);
        }
예제 #3
0
        public static List <List <OHLC> > SplitToSublists(this List <OHLC> source, int count)
        {
            var compress = new SplitDel(SplitToSublistsDel);

            return(compress.Invoke(source, count));
        }