///// ------------------------------------------------------------------------------------ ///// <summary> ///// Copies to this instance the information from the specified translation unit. ///// </summary> ///// ------------------------------------------------------------------------------------ //public void Copy(TransUnitVariant tuv) //{ // Value = tuv.Value; // Lang = tuv.Lang; // DataType = tuv.DataType; // m_notes = (from note in tuv.Notes // select new TMXNote { Text = note.Text, Lang = note.Lang }).ToList(); // m_props = (from prop in tuv.Props // select new TMXProp { Type = prop.Type, Value = prop.Value, Lang = prop.Lang }).ToList(); //} /// ------------------------------------------------------------------------------------ /// <summary> /// Clears all the value. Using the setter to assign the Value property will append /// to the existing values. That is because a translation unit may have more than /// one 'seg' element. /// </summary> /// ------------------------------------------------------------------------------------ public void ClearValue() { Seg.ClearValue(); }