Пример #1
0
 public static bool __ipAddressIs(string s, Type type, Action <object> action) =>
 type == typeof(IPAddress) && StringIpAddressDeterminer.Is(s, action);
Пример #2
0
 /// <summary>
 /// Is IpAddress
 /// </summary>
 /// <param name="str"></param>
 /// <returns></returns>
 public static bool IsIpAddress(this string str) => StringIpAddressDeterminer.Is(str);