/// <summary> /// Constructs a new instance /// </summary> /// <param name="script">The <see cref="ARCed.Scripting.Script"/> the result is found in</param> /// <param name="scriptTitle">Title of the script</param> /// <param name="lineNumber">The line number the in the script the result is found on</param> /// <param name="lineText">The text of the line</param> public SearchResult(Script script, string scriptTitle, int lineNumber, string lineText) : base(new[] { scriptTitle, (lineNumber + 1).ToString(CultureInfo.InvariantCulture), lineText }) { this.Script = script; this.Line = lineNumber; }