Ejemplo n.º 1
0
 public ISerializationServiceBuilder SetConfig(SerializationConfig config)
 {
     _config = config;
     if (_portableVersion < 0)
     {
         _portableVersion = config.GetPortableVersion();
     }
     _checkClassDefErrors = config.IsCheckClassDefErrors();
     _useNativeByteOrder  = config.IsUseNativeByteOrder();
     _byteOrder           = config.GetByteOrder();
     return(this);
 }