-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathApiAppArgs.cs
More file actions
24 lines (22 loc) · 860 Bytes
/
ApiAppArgs.cs
File metadata and controls
24 lines (22 loc) · 860 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
using Quipu.ParameterizationExtractor.Common;
namespace Quipu.ParameterizationExtractor.WebApi.Models
{
public class ApiAppArgs : IAppArgs
{
public string DBName { get; set; } = string.Empty;
public string ServerName { get; set; } = string.Empty;
public string PathToPackage { get; set; } = string.Empty;
public string ConnectionName { get; set; } = "DefaultConnection";
public string OutputFolder { get; set; } = string.Empty;
public bool Interactive { get; set; } = false;
public static ApiAppArgs Create(string outputFolder, string connectionName = "DefaultConnection")
{
return new ApiAppArgs
{
OutputFolder = outputFolder,
ConnectionName = connectionName,
Interactive = false
};
}
}
}