Exemple #1
0
        public override object ConvertTo(CultureInfo culture, string format, object value, Type to)
        {
            // Dict > Obj
            if (value is IDictionary <string, object> dict)
            {
                return(DictionaryConverter.CreateAndPopulate(to, dict, out _));
            }

            return(base.ConvertTo(culture, format, value, to));
        }