/// <summary> /// Initializes a new instance of the <see cref="AbstractTrados2007LanguageDirection"/> class. /// </summary> /// <param name="translationProvider">The Trados 2007 translation provider.</param> protected AbstractTrados2007LanguageDirection(AbstractTrados2007TranslationProvider translationProvider) { if (translationProvider == null) { throw new ArgumentNullException("translationProvider"); } // Trados 2007 TP supports only one language direction, regardless file- or -server based this.translationProvider = translationProvider; this.languageDirection = translationProvider.LanguageDirection; }
public TP2007ProviderSerializationHelper(AbstractTrados2007TranslationProvider tm) { Type = tm.GetType().ToString(); }