/// <summary> /// Checks if the collection contains the result. /// </summary> /// <param name="result">The result to see if the collection contains.</param> /// <returns>Returns true if the collecton contains the result, otherwise false.</returns> public bool Contains(GroupSearchResult result) { return(List.Contains(result)); }
/// <summary> /// Method for adding a new <see cref="GroupSearchResult"/> to the collection. /// </summary> /// <param name="result"></param> public void Add(GroupSearchResult result) { List.Add(result); }
/// <summary> /// Removes the selected result from the collection. /// </summary> /// <param name="result">The result to remove.</param> public void Remove(GroupSearchResult result) { List.Remove(result); }
/// <summary> /// Copies the current collection to an array of <see cref="GroupSearchResult"/> objects. /// </summary> /// <param name="array"></param> /// <param name="index"></param> public void CopyTo(GroupSearchResult[] array, int index) { List.CopyTo(array, index); }
/// <summary> /// Checks if the collection contains the result. /// </summary> /// <param name="result">The result to see if the collection contains.</param> /// <returns>Returns true if the collecton contains the result, otherwise false.</returns> public bool Contains(GroupSearchResult result) { return List.Contains(result); }