コード例 #1
0
 public override ApolloNoticeInfo FromString(string src)
 {
     Console.WriteLine("src={0}", src);
     char[]   separator = new char[] { ',' };
     string[] strArray  = src.Split(separator);
     this.DataList.Clear();
     foreach (string str in strArray)
     {
         ApolloNoticeData item = new ApolloNoticeData();
         item.FromString(str);
         this.DataList.Add(item);
     }
     this.Dump();
     return(this);
 }
コード例 #2
0
 public override ApolloNoticeInfo FromString(string src)
 {
     Console.WriteLine("src={0}", src);
     string[] array = src.Split(new char[]
     {
         ','
     });
     this.DataList.Clear();
     string[] array2 = array;
     for (int i = 0; i < array2.Length; i++)
     {
         string           src2             = array2[i];
         ApolloNoticeData apolloNoticeData = new ApolloNoticeData();
         apolloNoticeData.FromString(src2);
         this.DataList.Add(apolloNoticeData);
     }
     this.Dump();
     return(this);
 }