Example #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="inputSegmentStrings"></param>
        private void CheckCorrectness(IList inputSegmentStrings)
        {
            IList           resultSegStrings = SegmentString.GetNodedSubstrings(inputSegmentStrings);
            NodingValidator nv = new NodingValidator(resultSegStrings);

            try
            {
                nv.CheckValid();
            }
            catch (Exception ex) { Trace.WriteLine(ex.ToString()); }
        }
        private void CheckCorrectness(IList inputSegmentStrings)
        {
            IList resultSegStrings =
                SegmentString.GetNodedSubstrings(inputSegmentStrings);
            NodingValidator nv = new NodingValidator(resultSegStrings);

            try
            {
                nv.CheckValid();
            }
            catch (Exception ex)
            {
                ExceptionManager.Publish(ex);
            }
        }
Example #3
0
 /// <summary>
 /// Returns a <see cref="IList"/> of fully noded <see cref="SegmentString"/>s.
 /// The <see cref="SegmentString"/>s have the same context as their parent.
 /// </summary>
 /// <returns></returns>
 public IList GetNodedSubstrings()
 {
     return(SegmentString.GetNodedSubstrings(nodedSegStrings));
 }