WCFProtocol -> WCFBinding

More appropriate
This commit is contained in:
JustArchi
2017-02-03 09:59:02 +01:00
parent 72141c53a3
commit 8926297614
4 changed files with 16 additions and 16 deletions

View File

@@ -117,6 +117,10 @@ namespace ConfigGenerator {
[JsonProperty(Required = Required.DisallowNull)]
public EUpdateChannel UpdateChannel { get; set; } = EUpdateChannel.Stable;
[LocalizedCategory("Access")]
[JsonProperty(Required = Required.DisallowNull)]
public EWCFBinding WCFBinding { get; set; } = EWCFBinding.NetTcp;
[LocalizedCategory("Access")]
[JsonProperty]
public string WCFHost { get; set; } = "127.0.0.1";
@@ -125,10 +129,6 @@ 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() { }
@@ -225,7 +225,7 @@ namespace ConfigGenerator {
Experimental
}
internal enum EWCFProtocol : byte {
internal enum EWCFBinding : byte {
NetTcp,
BasicHttp,
WSHttp