@@ -20,27 +20,20 @@ public enum ReleaseType
2020
2121public class ProxyConfiguration : IProxyConfiguration
2222{
23- [ JsonPropertyName ( "port" ) ]
2423 public int Port { get ; set ; } = 8000 ;
25- [ JsonPropertyName ( "ipAddress" ) ]
2624 public string ? IPAddress { get ; set ; } = "127.0.0.1" ;
27- [ JsonPropertyName ( "labelMode" ) ]
2825 [ JsonConverter ( typeof ( JsonStringEnumConverter ) ) ]
2926 public LabelMode LabelMode { get ; set ; } = LabelMode . Text ;
30- [ JsonPropertyName ( "record" ) ]
3127 public bool Record { get ; set ; } = false ;
32- [ JsonPropertyName ( "logLevel" ) ]
3328 [ JsonConverter ( typeof ( JsonStringEnumConverter ) ) ]
3429 public LogLevel LogLevel { get ; set ; } = LogLevel . Information ;
3530 public IEnumerable < int > WatchPids { get ; set ; } = new List < int > ( ) ;
3631 public IEnumerable < string > WatchProcessNames { get ; set ; } = new List < string > ( ) ;
37- [ JsonPropertyName ( "rate" ) ]
3832 public int Rate { get ; set ; } = 50 ;
3933 public bool NoFirstRun { get ; set ; } = false ;
4034 public bool AsSystemProxy { get ; set ; } = true ;
4135 public bool InstallCert { get ; set ; } = true ;
4236 public string ConfigFile { get ; set ; } = "devproxyrc.json" ;
43- [ JsonPropertyName ( "newVersionNotification" ) ]
4437 [ JsonConverter ( typeof ( JsonStringEnumConverter ) ) ]
4538 public ReleaseType NewVersionNotification { get ; set ; } = ReleaseType . Stable ;
4639}
0 commit comments