예제 #1
0
        public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
        {
            var ch = ChatChannel.Say;

            if (value is ChatChannel cc)
            {
                ch = cc;
            }
            return(TccUtils.ChatChannelToName(ch));
        }