Search code examples
c#octokit.net

How to show all languages in a request?


octokit.net

To filter the query by language I do this

var request = new SearchRepositoriesRequest("mvc client side framework")
{
   // how about we restrict the language the library is written in?
    Language = Language.JavaScript
}

How to make all languages ​​appear in the request again?
Something like:

Language = Language.All

Solution

  • Property Language is nullable, so maybe Language = null?