Beispiel #1
0
 /// <summary>
 /// Sets the arguments, if the text contains any "{0}" or similar values embedded in it.
 /// </summary>
 public void SetTranslationKey(TranslatedString translation)
 {
     if (translation != null)
     {
         SetTranslationKey(translation.TranslationKey, translation.Values);
     }
 }
        /// <summary>
        /// Sets the arguments, if the text contains any "{0}" or similar values embedded in it.
        /// </summary>
        public void SetTranslationKey(TranslatedString translation)
        {
            if (translation != null)
            {
                // Set the dictionary
                this.translation.Dictionary = translation.Dictionary;

                // Set the rest of the member variables
                SetTranslationKey(translation.TranslationKey, translation.Arguments);
            }
        }