mySobek Home   |   Help
Skip Navigation Links.
Expand <a href='https://sobekrepository.org/sobekcm' title='Sobek home page'>Project Home</a>Project Home
Expand <a href='https://sobekrepository.org/help' title='Online user help'>User Help</a>User Help
Expand <a href='https://sobekrepository.org/sobekcm/technical' title='Sobek home page'>Technical Help</a>Technical Help
Expand <a href='https://sobekrepository.org/software' title='Center for downloading all SobekCM-related software'>Download Center</a>Download Center
Training Videos
Collapse <a href='https://sobekrepository.org/codehelp' title='Details on each of the different classes, interfaces, properties, etc..'>Code Details</a>Code Details
MISSING BANNER
Code Details >> Core >> MemoryMgmt >> AdoNetFastSerializerSurrogate

AdoNetFastSerializerSurrogate Class



An ISurrogateSelector implementation which looks for supported ADO.Net serializable types (DataSet and DataTable) and returns itself as an ISerializationSurrogate which can serialize those objects using Fast Serialization.


Namespace: SobekCM.Core.MemoryMgmt
Assembly: SobekCM_Core (in SobekCM_Core.dll) Version: 4.10.0.0 (4.10.0.0)

Syntax

C#
public class AdoNetFastSerializerSurrogate : ISurrogateSelector, 
	ISerializationSurrogate

Remarks

Code written by Simon Hewitt and dedicated to public domain (2006)

Inheritance Hierarchy

System..::..Object
  SobekCM.Core.MemoryMgmt..::..AdoNetFastSerializerSurrogate

Constructors

  NameDescription
Public methodAdoNetFastSerializerSurrogate
Initializes a new instance of the AdoNetFastSerializerSurrogate class

Methods

  NameDescription
Public methodChainSelector
Stores the next surrogate selector in the chain.
Public methodGetNextSelector
Returns the next surrogate in the chain.
Public methodGetObjectData
Serializes the contents of the object into a byte[] and stores in the SerializationInfo block.
Public methodGetSurrogate
Checks the Type and, if supported, returns this as an appropriate ISerializationSurrogate object.
Public methodSetObjectData
Creates a new instance of the object being deserialized (since no constructors are called) then deserializes data into it.

See Also



Version 4.10.0 ( last generated Monday, March 7, 2016 )