/// ------------------------------------------------------------------------------------ /// <summary> /// Initializes a new instance of the <see cref="TextTokenSubstring"/> class based on /// another TextTokenSubstring, but having a different Message. /// </summary> /// <param name="tts">The instance to copy from.</param> /// <param name="msg">The message.</param> /// ------------------------------------------------------------------------------------ public TextTokenSubstring(TextTokenSubstring tts, string msg) { m_tokens = tts.m_tokens; m_offset = tts.m_offset; m_length = tts.m_length; m_inventoryString = tts.m_inventoryString; m_message = msg; }
/// ------------------------------------------------------------------------------------ /// <summary> /// Initializes a new instance of the <see cref="RecordErrorEventArgs"/> class. /// </summary> /// <param name="tts">The TextTokenSubstring.</param> /// <param name="checkId">The GUID identifying the check.</param> /// ------------------------------------------------------------------------------------ public RecordErrorEventArgs(TextTokenSubstring tts, Guid checkId) { m_tts = tts; m_checkId = checkId; }