-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #119 from Cysharp/incremental-incremental
True Incremental Generator
- Loading branch information
Showing
27 changed files
with
1,532 additions
and
200 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
using System.ComponentModel.DataAnnotations; | ||
using System.Diagnostics.CodeAnalysis; | ||
using ConsoleAppFramework; | ||
using ConsoleAppFramework; | ||
|
||
var app = ConsoleApp.Create(); | ||
|
||
app.Add("aaa", () => | ||
{ | ||
}); | ||
|
||
|
||
args = ["show", "--aaa", "a", "value", "10.2"]; | ||
|
||
var app = ConsoleApp.Create(); | ||
app.Add<Test>(); | ||
app.Run(args); | ||
|
||
public class Test | ||
app.Add("aabcdefg", int (int x, string y) => | ||
{ | ||
public void Show(string aaa, [Range(0, 1)] double value) => ConsoleApp.Log($"{value}"); | ||
} | ||
return default!; | ||
}); | ||
|
||
app.Run(args); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
using ConsoleAppFramework; | ||
|
||
ConsoleApp.Run(args, (int x, int y) => Console.WriteLine(x + y)); | ||
|
||
var app = ConsoleApp.Create(); | ||
|
||
//ConsoleApp.Run(args, (int x, int y) => Console.WriteLine(x + y)); | ||
|
||
app.Run(args); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.