ARCed.Scripting.SearchResult.SearchResult C# (CSharp) Method

SearchResult() public method

Constructs a new instance
public SearchResult ( Script script, string scriptTitle, int lineNumber, string lineText ) : System.Globalization
script Script The the result is found in
scriptTitle string Title of the script
lineNumber int The line number the in the script the result is found on
lineText string The text of the line
return System.Globalization
        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;
        }
SearchResult