Skip to content

Commit

Permalink
Updated search docs with new collection type
Browse files Browse the repository at this point in the history
  • Loading branch information
khellang committed Jul 20, 2015
1 parent c8bee54 commit 78796fb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/search.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,18 @@ var request = new SearchIssuesRequest();

// you should focus your search to a specific repo
request.Repos.Add("aspnet/dnx");
request.Repos.Add("aspnet", "dnvm");

// or use a series of repositories
request.Repos = new Collection<string> {
request.Repos = new RepositoryCollection {
"aspnet/dnx",
"aspnet/dnvm"
};

request.Repos = new RepositoryCollection {
{ "aspnet", "dnx" },
{ "aspnet", "dnvm" }
};
```

There's many other options available here to tweak
Expand Down

0 comments on commit 78796fb

Please sign in to comment.