-
Notifications
You must be signed in to change notification settings - Fork 199
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tests for supporting adding custom model props (#4474)
Add tests for #4263, which is already supported.
- Loading branch information
1 parent
4234073
commit 7356b46
Showing
3 changed files
with
50 additions
and
18 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
9 changes: 9 additions & 0 deletions
9
...viders/ModelProviders/TestData/ModelCustomizationTests/CanAddProperties/MockInputModel.cs
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#nullable disable | ||
|
||
namespace Sample.Models; | ||
|
||
internal partial class MockInputModel | ||
{ | ||
public int NewProperty { get; set; } | ||
public string NewProperty2 { get; } | ||
} |