Esempio n. 1
0
        private string GetString(string name, CultureInfo culture = null)
        {
            if (name == null)
            {
                throw new ArgumentNullException(nameof(name));
            }

            var keyCulture = culture ?? CultureInfo.CurrentUICulture;

            return(_dbLocalizedStringSource.GetString(name, keyCulture));
        }