-
Notifications
You must be signed in to change notification settings - Fork 238
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[http-client-csharp] Omit model factory method if it contains interna…
- Loading branch information
1 parent
4cc9005
commit 428f839
Showing
4 changed files
with
90 additions
and
2 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
13 changes: 13 additions & 0 deletions
13
...lFactoriesCustomizationTests/OmitsModelFactoryMethodIfModelTypeInternal/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,13 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Collections.ObjectModel; | ||
using Microsoft.Generator.CSharp.Customization; | ||
|
||
#nullable disable | ||
|
||
namespace Sample.Models; | ||
|
||
internal partial class MockInputModel | ||
{ | ||
|
||
} |
18 changes: 18 additions & 0 deletions
18
...lFactoriesCustomizationTests/OmitsModelFactoryMethodIfParamTypeInternal/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,18 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Collections.ObjectModel; | ||
using Microsoft.Generator.CSharp.Customization; | ||
|
||
#nullable disable | ||
|
||
namespace Sample.Models; | ||
|
||
public partial class MockInputModel | ||
{ | ||
internal OtherModel Prop1 { get; set; } | ||
} | ||
|
||
internal partial class OtherModel | ||
{ | ||
|
||
} |