Spontaneous.DataModel.Localized.Localized C# (CSharp) Метод

Localized() публичный Метод

public Localized ( string lang, string value ) : System
lang string
value string
Результат System
        public Localized(string lang, string value)
        {
            try
            {
                CultureInfo cultureInfo = new CultureInfo(lang);
                if (cultureInfo != null) this.LocalizedList = new List<LocalizedUnit>() { new LocalizedUnit(cultureInfo, value) };
            }
            catch (Exception e)
            {
            }
        }

Same methods

Localized::Localized ( ) : System
Localized::Localized ( CultureInfo lang, string value ) : System
Localized::Localized ( string value ) : System