Click or drag to resize

DefaultSurrogate Class

Surrogate that serializes all writeable, serializable properties of an object during serialization by a formatter.
Inheritance Hierarchy
SystemObject
  SavegamePro.SurrogatesDefaultSurrogate

Namespace:  SavegamePro.Surrogates
Assembly:  SavegameProDLL (in SavegameProDLL.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class DefaultSurrogate : ISerializationSurrogate

The DefaultSurrogate type exposes the following members.

Constructors
  NameDescription
Public methodDefaultSurrogate
Initializes a new instance of the DefaultSurrogate class with the default SurrogateSelector
Public methodDefaultSurrogate(ISurrogateSelector)
Initializes a new instance of the DefaultSurrogate class with the selector
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetObjectData
Serializes all settable fields and properties of obj
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetObjectData
Deserializes all settable fields and properties of obj
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldmySelector
ISurrogateSelector that this surrogate uses to serialize data
Top
See Also