private void LoadName(DoubanMovie json)
        {
            foreach (var name in json.ParseName())
            {
                if (this.ParseSeriesName(name)) continue;

                var spliter = name.Split(new string[] { ":", ":" }, 2, StringSplitOptions.RemoveEmptyEntries);
                if (spliter.Length > 0)
                {
                    if (!this.ParseSeriesName(spliter[0]))
                    {
                        this.seriesNames.Add(spliter[0]);
                    }
                    if (spliter.Length > 1)
                    {
                        this.entityNames.Add(spliter[1]);
                    }
                }
            }
        }
Esempio n. 2
0
        private void LoadName(DoubanMovie json)
        {
            foreach (var name in json.ParseName())
            {
                if (this.ParseSeriesName(name))
                {
                    continue;
                }

                var spliter = name.Split(new string[] { ":", ":" }, 2, StringSplitOptions.RemoveEmptyEntries);
                if (spliter.Length > 0)
                {
                    if (!this.ParseSeriesName(spliter[0]))
                    {
                        this.seriesNames.Add(spliter[0]);
                    }
                    if (spliter.Length > 1)
                    {
                        this.entityNames.Add(spliter[1]);
                    }
                }
            }
        }