Ejemplo n.º 1
0
        public static List <string> GetExportKey(OptionItem option)
        {
            List <string> values = new List <string>();

            string text = option.GetStoreKey();

            if (!string.IsNullOrEmpty(text))
            {
                values.Add(text);

                values.Add("Options" + text);
            }

            text = option.GetLocalizationKey();
            if (!string.IsNullOrEmpty(text))
            {
                values.Add(text);
            }

            return(values);
        }
Ejemplo n.º 2
0
        public static List<string> GetExportKey(OptionItem option)
        {
            List<string> values = new List<string>();

            string text = option.GetStoreKey();
            if (!string.IsNullOrEmpty(text))
            {
                values.Add(text);

                values.Add("Options" + text);
            }

            text = option.GetLocalizationKey();
            if (!string.IsNullOrEmpty(text))
            {
                values.Add(text);
            }

            return values;
        }