Example #1
0
        /// <summary>
        /// Given a list of writingSystems, combine them in a way that can be used to uniquely identify a cache of results
        /// </summary>
        /// <param name="ids"></param>
        /// <returns></returns>
        private static string GetCacheWritingSystemTag(string[] ids)
        {
            if (ids == null || ids.Length == 0)
            {
                return("--");
            }
            string wsTag = "";

            Enumerable.ForEach(ids, id => wsTag += id);
            return(wsTag);
        }
Example #2
0
 void OnItem_CheckedChanged(object sender, EventArgs e)
 {
     SetMenuLabel();
     _selectedItemIds.Clear();
     Enumerable.ForEach(SelectedItemIds, id => _selectedItemIds.Add(id));
 }