示例#1
0
        public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
        {
            var gearName = value as string;

            if (gearName == null)
            {
                return("");
            }

            return(ItemDictionary.GetInGameName(gearName));
        }