/// <summary>
 /// Initializes a new instance of the <see cref="MultiSearcherEventArgs"/> class.
 /// </summary>
 /// <param name="indexNames">Names of the indexes that are being searched.</param>
 /// <param name="methodType">The search method type that is being used.</param>
 /// <param name="location">The location within the method body where this event was fired from.</param>
 /// <param name="result">The search result was found, otherwise null.</param>
 public MultiSearcherEventArgs(string[] indexNames, SearchMethodType methodType, SearchMethodLocation location, SearchResult result)
 {
     this.indexNames = indexNames;
     this.SearchMethodType = methodType;
     this.SearchMethodLocation = location;
     this.SearchResult = result;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="SearcherEventArgs"/> class.
 /// </summary>
 /// <param name="indexName">Name of the index that is being searched.</param>
 /// <param name="structure">The structure of the index that is being searched.</param>
 /// <param name="methodType">The search method type that is being used.</param>
 /// <param name="location">The location within the method body where this event was fired from.</param>
 /// <param name="result">The search result was found.</param>
 public SearcherEventArgs(string indexName, IndexType structure, SearchMethodType methodType, SearchMethodLocation location, SearchResult result)
 {
     this.indexName = indexName;
     this.structure = structure;
     this.SearchMethodType = methodType;
     this.SearchMethodLocation = location;
     this.SearchResult = result;
 }
 /// <summary>
 /// Adds a search result to this instance
 /// </summary>
 /// <param name="result">The result.</param>
 internal void AddSearchResult(SearchResult result)
 {
     this.searchResults.Add(result);
 }