-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add validation when registered type/method is outside in generator re…
…ferenced project.
- Loading branch information
Showing
4 changed files
with
32 additions
and
26 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,22 @@ | ||
using ConsoleAppFramework; | ||
using FilterShareProject; | ||
|
||
|
||
var t = new Test(); | ||
|
||
var app = ConsoleApp.Create(); | ||
|
||
app.Add("foo", t.Handle); | ||
var v = new OtherProjectCommand(); | ||
// app.Add("", v.Execute); | ||
app.Add<MyProjectCommand>(); | ||
|
||
app.Run(args); | ||
|
||
|
||
public partial class Test | ||
|
||
public class MyProjectCommand | ||
{ | ||
public void Handle( | ||
bool a1, | ||
bool a2, | ||
bool a3, | ||
bool a4, | ||
bool a5, | ||
bool a6, | ||
bool a7, | ||
bool a8, | ||
bool a9, | ||
bool a10, | ||
bool a11, | ||
bool a12, | ||
bool a13, | ||
bool a14, | ||
bool a15, | ||
bool a16, | ||
bool a17, | ||
bool a18, | ||
bool a19, | ||
string foo = null | ||
) | ||
public void Execute(int x) | ||
{ | ||
Console.Write("ok"); | ||
Console.WriteLine("Hello?"); | ||
} | ||
} |
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