Ejemplo n.º 1
0
 internal DeserializeBase(SerializeOption option)
 {
     this.option = option;
     context     = new SerializeContext {
         Option = option
     };
 }
Ejemplo n.º 2
0
 internal JsonDeserialize(JsonSerializer serializer, JsonReader reader, JsonSerializeOption option)
 {
     this.serializer = serializer;
     jsonReader      = reader;
     this.option     = option;
     context         = new SerializeContext();
 }
Ejemplo n.º 3
0
 internal XmlSerialize(XmlSerializer serializer, XmlWriter writer, XmlSerializeOption option)
 {
     this.serializer = serializer;
     xmlWriter       = writer;
     this.option     = option;
     context         = new SerializeContext();
 }
Ejemplo n.º 4
0
 internal JsonSerialize(JsonSerializer serializer, JsonWriter writer, JsonSerializeOption option)
 {
     this.serializer = serializer;
     jsonWriter      = writer;
     this.option     = option;
     context         = new SerializeContext();
 }
Ejemplo n.º 5
0
 internal DeserializeBase(SerializeOption option)
 {
     _option  = option;
     _context = new SerializeContext {
         Option = option
     };
 }
Ejemplo n.º 6
0
 internal JsonSerialize(JsonSerializer serializer, JsonWriter writer, JsonSerializeOption option)
 {
     _serializer = serializer;
     _jsonWriter = writer;
     _option     = option;
     _context    = new SerializeContext {
         Option = option
     };
 }
Ejemplo n.º 7
0
 internal XmlSerialize(XmlSerializer serializer, XmlTextWriter writer, XmlSerializeOption option)
 {
     _serializer = serializer;
     _xmlWriter  = writer;
     _option     = option;
     _context    = new SerializeContext {
         Option = option
     };
 }