예제 #1
0
        public ColoringMsx GetColoringForCategory(CategoryKeyMsx category)
        {
            string key;

            if (CategoryToGuidDict.TryGetValue(category, out key))
            {
                return(this.GuidToColoringDict[key]);
            }

            return(null);
        }
예제 #2
0
 public void AddMapping(CategoryKeyMsx category, ColoringMsx coloring)
 {
     CategoryToGuidDict[category] = coloring.MsxId;
 }