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