/// <summary> /// Clone the int field, remove references. /// </summary> /// <param name="field">The int field to clone.</param> /// <returns>The cloned int field.</returns> public IntField Clone(IntField field) { IntField temp = new IntField(); temp.name = field.name; temp.value = field.value; return(temp); }
/// <summary> /// Constructor. /// </summary> /// <param name="field">The int field to construct.</param> public IntField(IntField field) { name = field.name; value = field.value; }