Метод | Описание | |
---|---|---|
Settings ( Method serializationMethod = Method.Generated, Method deserializationMethod = Method.Generated, VersionToleranceLevel versionTolerance, bool supportForISerializable = false, bool supportForIXmlSerializable = false, bool treatCollectionAsUserObject = false, bool useBuffering = true, bool disableTypeStamping = false, ReferencePreservation referencePreservation = ReferencePreservation.Preserve ) : System |
Initializes a new instance of the Antmicro.Migrant.Customization.Settings class.
|
|
With ( Method serializationMethod = null, Method deserializationMethod = null, VersionToleranceLevel versionTolerance = null, bool supportForISerializable = null, bool treatCollectionAsUserObject = null, bool useBuffering = null, bool disableTypeStamping = null, ReferencePreservation referencePreservation = null ) : |
Initializes a new instance of the Antmicro.Migrant.Customization.Settings class.
|
public Settings ( Method serializationMethod = Method.Generated, Method deserializationMethod = Method.Generated, VersionToleranceLevel versionTolerance, bool supportForISerializable = false, bool supportForIXmlSerializable = false, bool treatCollectionAsUserObject = false, bool useBuffering = true, bool disableTypeStamping = false, ReferencePreservation referencePreservation = ReferencePreservation.Preserve ) : System | ||
serializationMethod | Method | /// Method used for serialization. /// |
deserializationMethod | Method | /// Method used for deserialization. /// |
versionTolerance | VersionToleranceLevel | /// Specifies the possible level of difference between class layout when it was serialized and in the /// moment of deserialization. /// |
supportForISerializable | bool | /// Specifies whether Migrant should use GetObjectData approach for serialization. /// |
supportForIXmlSerializable | bool | /// Specifies whether Migrant should use xml serialization on objects implementing IXmlSerializable. /// |
treatCollectionAsUserObject | bool | /// Specifies if collection objects are to be deserialized without optimization (treated as normal user objects). /// |
useBuffering | bool | /// True if buffering should be used, false if writes should directly go to the stream and reads should never read /// data in advance. Disabling buffering also disables padding. /// |
disableTypeStamping | bool | /// Specifies if type stamping should be disabled in order to improve performance and limit output stream size. /// |
referencePreservation | ReferencePreservation | /// Tells serializer how to treat references between sessions of open stream serialization. /// |
Результат | System |
public With ( Method serializationMethod = null, Method deserializationMethod = null, VersionToleranceLevel versionTolerance = null, bool supportForISerializable = null, bool treatCollectionAsUserObject = null, bool useBuffering = null, bool disableTypeStamping = null, ReferencePreservation referencePreservation = null ) : |
||
serializationMethod | Method | /// Method used for serialization. /// |
deserializationMethod | Method | /// Method used for deserialization. /// |
versionTolerance | VersionToleranceLevel | /// Specifies the possible level of difference between class layout when it was serialized and in the /// moment of deserialization. /// |
supportForISerializable | bool | /// Specifies whether Migrant should use GetObjectData approach for serialization. /// |
treatCollectionAsUserObject | bool | /// Specifies if collection objects are to be deserialized without optimization (treated as normal user objects). /// |
useBuffering | bool | /// True if buffering should be used, false if writes should directly go to the stream and reads should never read /// data in advance. Disabling buffering also disables padding. /// |
disableTypeStamping | bool | /// Specifies if type stamping should be disabled in order to improve performance and limit output stream size. /// |
referencePreservation | ReferencePreservation | /// Tells serializer how to treat references between sessions of open stream serialization. /// |
Результат |