/// <summary> /// Creates a new instance of the FetchIssuesEventArgs class. /// </summary> /// <param name="filter">The filter for the fetch request.</param> /// <param name="searchText">The search text.</param> public FetchIssuesEventArgs(FetchIssueFilter filter, FetchIssueStatus status, string searchText) { if (searchText == null) throw new ArgumentNullException("searchText"); this.SearchText = searchText; this.Filter = filter; this.Status = status; this.Results = Enumerable.Empty<Issue>(); }
/// <summary> /// Creates a new instance of the FetchIssuesEventArgs class. /// </summary> /// <param name="filter">The filter for the fetch request.</param> /// <param name="searchText">The search text.</param> public FetchIssuesEventArgs(FetchIssueFilter filter, FetchIssueStatus status, string searchText) { if (searchText == null) { throw new ArgumentNullException("searchText"); } this.SearchText = searchText; this.Filter = filter; this.Status = status; this.Results = Enumerable.Empty <Issue>(); }