/// <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); } }
/// <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)); }