Example #1
0
 public USerializer(ISerializationPolicy serializationPolicy, ISerializationProvider[] providers, DataTypesDatabase dataTypesDatabase, ILogger logger)
 {
     SerializationPolicy = serializationPolicy;
     _providers          = providers;
     DataTypesDatabase   = dataTypesDatabase;
     Logger = logger;
 }
Example #2
0
 public FieldsSerializer(FieldData[] fields, DataTypesDatabase dataTypesDatabase)
 {
     _fields            = fields;
     _dataTypesDatabase = dataTypesDatabase;
     _headerData        = CreateHeaderData(fields);
 }
Example #3
0
 public MemberSerializer(MemberSerializerStruct[] members, DataTypesDatabase dataTypesDatabase)
 {
     Members            = members;
     _dataTypesDatabase = dataTypesDatabase;
     _headerData        = CreateHeaderData(Members);
 }