示例#1
0
 public SkympClientSettingsModel ToSkympClientSettings(SkympClientSettingsModel oldServer)
 {
     return(new SkympClientSettingsModel
     {
         IP = this.IP,
         IsEnableConsole = oldServer.IsEnableConsole,
         IsShowMe = oldServer.IsShowMe,
         Port = this.Port
     });
 }
示例#2
0
 public bool IsSameServer(SkympClientSettingsModel settings)
 {
     return((settings.IP + settings.Port.ToString()).GetHashCode() == ID);
 }