Cleanup + missing CG bits

This commit is contained in:
JustArchi
2017-02-03 09:56:18 +01:00
parent 24350dcba5
commit 72141c53a3
3 changed files with 22 additions and 12 deletions

View File

@@ -125,6 +125,10 @@ namespace ConfigGenerator {
[JsonProperty(Required = Required.DisallowNull)]
public ushort WCFPort { get; set; } = DefaultWCFPort;
[LocalizedCategory("Access")]
[JsonProperty(Required = Required.DisallowNull)]
public EWCFProtocol WCFProtocol { get; set; } = EWCFProtocol.NetTcp;
[SuppressMessage("ReSharper", "UnusedMember.Local")]
private GlobalConfig() { }
@@ -220,5 +224,11 @@ namespace ConfigGenerator {
Stable,
Experimental
}
internal enum EWCFProtocol : byte {
NetTcp,
BasicHttp,
WSHttp
}
}
}