Exemple #1
0
 /// <summary>
 /// 通过名字和信息创建新的Line
 /// </summary>
 /// <param name="name">名称</param>
 /// <param name="info">信息 (正常)</param>
 /// <param name="text">文本 在末尾没有结束行号的文本 (正常)</param>
 /// <param name="subs">子类集合</param>
 public Line(string name, string info, string text = "", params Sub[] subs)
 {
     Name = name;
     Info = info;
     Text = text;
     Subs.AddRange(subs);
 }