예제 #1
0
            public IList <string> /*!*/ Flatten()
            {
                if (_level != 0)
                {
                    return(ArrayUtils.EmptyStrings);
                }

                return(_rootNode.Flatten());
            }
예제 #2
0
            public ValueList <string> /*!*/ Flatten()
            {
                if (_level != 0)
                {
                    return(ValueList <string> .Empty);
                }

                return(_rootNode.Flatten());
            }
예제 #3
0
파일: Glob.cs 프로젝트: decay88/Phantom
            internal string[] /*!*/ Flatten()
            {
                if (_level != 0)
                {
                    return(new string[0]);
                }
                List <StringBuilder> list = _rootNode.Flatten();

                string[] result = new string[list.Count];
                for (int i = 0; i < list.Count; i++)
                {
                    result[i] = list[i].ToString();
                }
                return(result);
            }
예제 #4
0
            public string[] Flatten()
            {
                if (_level != 0)
                {
                    return(EmptyString);
                }
                List <StringBuilder> list = _rootNode.Flatten();

                string[] result = new string[list.Count];
                for (int i = 0; i < list.Count; i++)
                {
                    result[i] = list[i].ToString();
                }
                return(result);
            }
예제 #5
0
            public string[] /*!*/ Flatten()
            {
                if (_level != 0)
                {
                    return(ArrayUtils.EmptyStrings);
                }
                var list   = _rootNode.Flatten();
                var result = new string[list.Count];

                for (int i = 0; i < list.Count; i++)
                {
                    result[i] = list[i].ToString();
                }
                return(result);
            }