File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed
src/CodeGeneration/ApiGenerator Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,15 @@ public static class CodeConfiguration
10
10
{
11
11
private static string _root = null ;
12
12
13
+ // @formatter:off — disable formatter after this line
14
+ public static string EsNetFolder { get ; } = $@ "{ Root } ..\..\..\src\Elasticsearch.Net\";
15
+ public static string LastDownloadedVersionFile { get ; } = Path . Combine ( Root , "last_downloaded_version.txt" ) ;
16
+
17
+ public static string NestFolder { get ; } = $@ "{ Root } ..\..\..\src\Nest\";
18
+ public static string RestSpecificationFolder { get ; } = $@ "{ Root } RestSpecification\";
19
+ public static string ViewFolder { get ; } = $@ "{ Root } Views\";
20
+ // @formatter:on — enable formatter after this line
21
+
13
22
public static readonly Assembly Assembly = typeof ( ApiGenerator ) . Assembly ;
14
23
15
24
public static readonly Dictionary < string , string > ApiNameMapping =
@@ -50,13 +59,6 @@ where c.StartsWith("I") && c.Contains("Request")
50
59
. ToDictionary ( k => k . Key , v => v . Value ) ;
51
60
52
61
53
- public static string EsNetFolder { get ; } = $@ "{ Root } ..\..\..\src\Elasticsearch.Net\";
54
- public static string LastDownloadedVersionFile { get ; } = Path . Combine ( Root , "last_downloaded_version.txt" ) ;
55
-
56
- public static string NestFolder { get ; } = $@ "{ Root } ..\..\..\src\Nest\";
57
- public static string RestSpecificationFolder { get ; } = $@ "{ Root } RestSpecification\";
58
- public static string ViewFolder { get ; } = $@ "{ Root } Views\";
59
-
60
62
private static string Root
61
63
{
62
64
get
You can’t perform that action at this time.
0 commit comments