Ejemplo n.º 1
0
        internal CBORObject ConvertWithConverter(object obj)
        {
            Object        type     = obj.GetType();
            ConverterInfo convinfo = null;

            if (this.converters.ContainsKey(type))
            {
                convinfo = this.converters[type];
            }
            else
            {
                return(null);
            }
            return((convinfo == null) ? null :
                   PropertyMap.CallToObject(convinfo, obj));
        }