Skip to content

Commit 61ab70e

Browse files
committed
Add pattern to config and option to use grouping .View namespace
1 parent 8b5def6 commit 61ab70e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/WebApiToTypeScript/Config/Config.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ public class Config
6666
public string ViewsSourceDirectory { get; set; }
6767
= "Views";
6868

69+
public string ViewsPattern { get; set; }
70+
= ".view.";
71+
6972
public string ViewsOutputDirectory { get; set; }
7073
= "Views";
7174

@@ -75,6 +78,9 @@ public class Config
7578
public string ViewsNamespace { get; set; }
7679
= "Views";
7780

81+
public bool UseViewsGroupingNamespace { get; set; }
82+
= true;
83+
7884
public bool ScanOtherModules { get; set; }
7985
= true;
8086

0 commit comments

Comments
 (0)