/// <summary> /// Set the Value int for an IntSocket from given string /// </summary> /// <param name="socket">IntSocket for wich Value is set</param> /// <param name="nr">int string</param> public void get_int(IntSocket socket, string nr) { if (string.IsNullOrEmpty(nr)) { return; } socket.Value = int.Parse(nr); }
/// <summary> /// Set the Value int for an IntSocket from given string /// </summary> /// <param name="socket">IntSocket for wich Value is set</param> /// <param name="nr">int string</param> public void get_int(IntSocket socket, string nr) { if (string.IsNullOrEmpty(nr)) return; socket.Value = int.Parse(nr); }