internal static void AddConverter() { // TODO: FromObject with Dates has different behavior // in Java version, which has to be retained until // the next major version for backward compatibility. // However, since ToObject is new, we can convert // to Date in the .NET and Java versions if (PropertyMap.DateTimeCompatHack) { CBORObject.AddConverter(typeof(DateTime), new CBORTag0()); } }
internal static void AddConverter() { CBORObject.AddConverter(typeof(Guid), new CBORTag37()); }
internal static void AddConverter() { CBORObject.AddConverter(typeof(Uri), new CBORTag32()); }
internal static void AddConverter() { CBORObject.AddConverter(typeof(DateTime), new CBORTag0()); }