mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-06 07:16:09 +00:00
Fixed the command line args
Fixed the args parameter to compile using lprun.exe
This commit is contained in:
@@ -33,4 +33,4 @@ async Task Main(string[] args)
|
||||
|
||||
Console.WriteLine("And GitHub thinks it is a {0} project", repository.Language);
|
||||
|
||||
}
|
||||
}
|
||||
@@ -8,7 +8,7 @@
|
||||
<Namespace>System.Threading.Tasks</Namespace>
|
||||
</Query>
|
||||
|
||||
async Task Main()
|
||||
async Task Main(string[] args)
|
||||
{
|
||||
var owner = string.Empty;
|
||||
var reponame = string.Empty;
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<Namespace>System.Reactive.Linq</Namespace>
|
||||
</Query>
|
||||
|
||||
void Main()
|
||||
void Main(string[] args)
|
||||
{
|
||||
var owner = string.Empty;
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<Namespace>System.Threading.Tasks</Namespace>
|
||||
</Query>
|
||||
|
||||
async Task Main()
|
||||
async Task Main(string[] args)
|
||||
{
|
||||
//This makes discovering code fun!!
|
||||
var client = new GitHubClient(new Octokit.ProductHeaderValue("octokit"));
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<Namespace>System.Threading.Tasks</Namespace>
|
||||
</Query>
|
||||
|
||||
async Task Main()
|
||||
async Task Main(string[] args)
|
||||
{
|
||||
var userName = string.Empty;
|
||||
GitHubClient client = new GitHubClient(new Octokit.ProductHeaderValue("Octokit.Samples"));
|
||||
@@ -33,5 +33,4 @@ async Task Main()
|
||||
var allissues = await issuesclient.GetAllForRepository("octokit", "octokit.net");
|
||||
allissues.Select(a => new { a.Title, a.Body}).Dump();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user