示例#1
0
 public static bool TryParse(JIP j, out IP ip)
 {
     if (j != null)
     {
         ip = new IP(j.A, j.B, j.C, j.D);
         return(true);
     }
     ip = IP.None;
     return(false);
 }
示例#2
0
 private JHost(Host value) : this()
 {
     this.IP   = JIP.Value(value.IP);
     this.Port = value.Port;
 }
示例#3
0
 public static bool TryParse(JIP j, out IP sid) => IP.TryParse(j, out sid);