@@ -7,7 +7,7 @@ namespace Simplify.Web.Postman.Settings
77 /// </summary>
88 public class PostmanGenerationSettings : IPostmanGenerationSettings
99 {
10- private string _collectionName ;
10+ private string _projectName ;
1111 private string _collectionFileName ;
1212 private string _collectionFileNamePostfix ;
1313 private string _environmentFileName ;
@@ -21,7 +21,7 @@ public PostmanGenerationSettings()
2121 {
2222 var projectAssemblyName = global ::System . Reflection . Assembly . GetEntryAssembly ( ) ? . GetName ( ) . Name ?? "App" ;
2323
24- _collectionName = projectAssemblyName ;
24+ _projectName = projectAssemblyName ;
2525 _collectionFileName = projectAssemblyName ;
2626 _collectionFileNamePostfix = ".postman_collection" ;
2727 _environmentFileName = projectAssemblyName ;
@@ -35,11 +35,10 @@ public PostmanGenerationSettings()
3535 /// <value>
3636 /// The name of the collection.
3737 /// </value>
38- public string CollectionName
38+ public string ProjectName
3939 {
40- get => _collectionName ;
41- set => _collectionName = value ??
42- throw new ArgumentNullException ( nameof ( value ) ) ;
40+ get => _projectName ;
41+ set => _projectName = value ?? throw new ArgumentNullException ( nameof ( value ) ) ;
4342 }
4443
4544 /// <summary>
@@ -51,8 +50,7 @@ public string CollectionName
5150 public string CollectionFileName
5251 {
5352 get => _collectionFileName ;
54- set => _collectionFileName = value ??
55- throw new ArgumentNullException ( nameof ( value ) ) ;
53+ set => _collectionFileName = value ?? throw new ArgumentNullException ( nameof ( value ) ) ;
5654 }
5755
5856 /// <summary>
@@ -64,8 +62,7 @@ public string CollectionFileName
6462 public string CollectionFileNamePostfix
6563 {
6664 get => _collectionFileNamePostfix ;
67- set => _collectionFileNamePostfix = value ??
68- throw new ArgumentNullException ( nameof ( value ) ) ;
65+ set => _collectionFileNamePostfix = value ?? throw new ArgumentNullException ( nameof ( value ) ) ;
6966 }
7067
7168 /// <summary>
@@ -77,8 +74,7 @@ public string CollectionFileNamePostfix
7774 public string EnvironmentFileName
7875 {
7976 get => _environmentFileName ;
80- set => _environmentFileName = value ??
81- throw new ArgumentNullException ( nameof ( value ) ) ;
77+ set => _environmentFileName = value ?? throw new ArgumentNullException ( nameof ( value ) ) ;
8278 }
8379
8480 /// <summary>
@@ -90,8 +86,7 @@ public string EnvironmentFileName
9086 public string EnvironmentFileNamePostfix
9187 {
9288 get => _environmentFileNamePostfix ;
93- set => _environmentFileNamePostfix = value ??
94- throw new ArgumentNullException ( nameof ( value ) ) ;
89+ set => _environmentFileNamePostfix = value ?? throw new ArgumentNullException ( nameof ( value ) ) ;
9590 }
9691
9792 /// <summary>
@@ -103,8 +98,7 @@ public string EnvironmentFileNamePostfix
10398 public string GenerationFolderPath
10499 {
105100 get => _generationFolderPath ;
106- set => _generationFolderPath = value ??
107- throw new ArgumentNullException ( nameof ( value ) ) ;
101+ set => _generationFolderPath = value ?? throw new ArgumentNullException ( nameof ( value ) ) ;
108102 }
109103 }
110104}
0 commit comments