Exemplo n.º 1
0
 public WireSerialization(GenericDeserializationBinder binder)
 {
     Xml      = new XmlSerialization(null, null, binder);
     Json     = new JsonSerialization(binder);
     Protobuf = new ProtobufSerialization();
     Pass     = new PassThroughSerialization();
 }
Exemplo n.º 2
0
        public WireSerialization(GenericDeserializationBinder binder)
        {
            Json = new JsonSerialization(binder);
#if !NETSTANDARD2_0
            Xml      = new XmlSerialization(null, null, binder);
            Protobuf = new ProtobufSerialization();
#endif
            Pass = new PassThroughSerialization();
        }