1234567891011121314151617181920212223242526272829303132333435363738 |
- using System.Collections.Generic;
- namespace Vinno.vCloud.Common.FIS
- {
- public class ServerInfo
- {
- /// <summary>
- /// Gets or sets the host.
- /// </summary>
- public string Host { get; set; }
- /// <summary>
- /// Gets or setst he server port.
- /// </summary>
- public int Port { get; set; }
- public override string ToString()
- {
- return $"{Host}:{Port}";
- }
- }
- /// <summary>
- /// The defalult server settings.
- /// </summary>
- public class DefaultServerSettings
- {
- /// <summary>
- /// Gets or sets the default servers.
- /// </summary>
- public List<ServerInfo> Servers { get; set; }
- /// <summary>
- /// Gets or setst the master server.
- /// </summary>
- public ServerInfo MasterServer { get; set; }
- }
- }
|