Class NetworkSetting
- Namespace
- Alis.Core.Ecs.System.Setting.Network
- Assembly
- Alis.dll
The network setting class
public class NetworkSetting : INetworkSetting, IBuilder<NetworkSettingBuilder>
Inheritance
Implements
Inherited Members
Constructors
NetworkSetting()
Initializes a new instance of the Alis.Core.Ecs.System.Setting.Network.NetworkSetting class
public NetworkSetting()
NetworkSetting(int, string, string, string)
Initializes a new instance of the Alis.Core.Ecs.System.Setting.Network.NetworkSetting class
public NetworkSetting(int port, string ip, string host, string protocol)
Parameters
Properties
Host
Gets or sets the value of the host
[JsonPropertyName("_Host_")]
public string Host { get; set; }
Property Value
Ip
Gets or sets the value of the ip
[JsonPropertyName("_Ip_")]
public string Ip { get; set; }
Property Value
Port
Gets or sets the value of the port
[JsonPropertyName("_Port_")]
public int Port { get; set; }
Property Value
Protocol
Gets or sets the value of the protocol
[JsonPropertyName("_Protocol_")]
public string Protocol { get; set; }
Property Value
Methods
Builder()
Builders this instance
public NetworkSettingBuilder Builder()
Returns
- NetworkSettingBuilder
-
The network setting builder