Esempio n. 1
0
        private void PopulateSelectedTitles(string storedValue)
        {
            var sections = storedValue.Split(new[] { '|' });
            var titles   = sections[0];

            if (!string.IsNullOrEmpty(titles))
            {
                TitleSelections.AddRange(titles.Split(new[] { ',' }));
            }
        }
Esempio n. 2
0
 private string GetTitleSelectionsFromEncodedString()
 {
     return(TitleSelections != null?string.Join(",", TitleSelections.ToArray()) : string.Empty);
 }