示例#1
0
 public bool Equals(Pod other)
 {
     if (ReferenceEquals(null, other)) return false;
     if (ReferenceEquals(this, other)) return true;
     return Equals(other.ID, ID);
 }
示例#2
0
        private void OutputResultPod(Pod pod)
        {
            //Results are split into "pods" that contain information. Those pods can also have subpods.

            if (pod == null) return;
            if (!pod.SubPods.HasElements()) return;
            foreach (var subPod in pod.SubPods)
            {
                //WriteMsg(subPod.Title);
                
                foreach (var s in subPod.Plaintext.Split('\n'))
                {
                    if (Regex.IsMatch(s, @".*\|.*\|.*\|.*")) continue;
                    WriteMsg(s);
                }
            }
        }