Exemple #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);
 }
Exemple #2
0
 private JHost(Host value) : this()
 {
     this.IP   = JIP.Value(value.IP);
     this.Port = value.Port;
 }
Exemple #3
0
 public static bool TryParse(JIP j, out IP sid) => IP.TryParse(j, out sid);