Esempio n. 1
0
 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());
     }
 }
Esempio n. 2
0
 internal static void AddConverter()
 {
     CBORObject.AddConverter(typeof(Guid), new CBORTag37());
 }
Esempio n. 3
0
 internal static void AddConverter()
 {
     CBORObject.AddConverter(typeof(Uri), new CBORTag32());
 }
Esempio n. 4
0
 internal static void AddConverter()
 {
     CBORObject.AddConverter(typeof(DateTime), new CBORTag0());
 }