CSLA.NET 6.0.0
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
Csla.Serialization.Mobile Namespace Reference

Classes

class  AssemblyNameTranslator
 Translates assembly names to and from short code values for serialization in MobileFormatter
 
class  CslaBinaryReader
 This is a class that is responsible for deserializing SerializationInfo objects for receiving the data from client / server. More...
 
class  CslaBinaryWriter
 This is a class that is responsible for serializing SerializationInfo objects into a Stream for sending the data t client / server More...
 
class  CslaLegacyBinaryReader
 This is a legacy version of CslaBinaryReader. More...
 
class  CslaLegacyBinaryWriter
 This is a legacy version of CslaBinaryWriter. More...
 
class  CslaNonClosingBinaryWriter
 This class is used to get around the issue in .NET framework, where underlying stream is closed by a writer that writes to that stream when said writer is disposed More...
 
class  CslaReaderWriterFactory
 Factory class that is used to create Reader/Writer pair of classes to read/write the data during serialization / deserialization process
 
class  CslaXmlBinaryReader
 This class uses DataContractSerializer and XmlDictionaryReader classes to read the data from a stream More...
 
class  CslaXmlBinaryWriter
 This class uses DataContractSerializer and XmlDictionaryWriter classes to write the data to a stream More...
 
class  CslaXmlReader
 This class uses DataContractSerializer and XmlReader classes to read the data from a stream More...
 
class  CslaXmlWriter
 This class uses DataContractSerializer and XmlWriter classes to write the data to a stream More...
 
struct  DictionaryCheckResult
 This struct contains the result of check for existing dictionary key/value pair when creating internal dictionary of strings in order to minimize the amount of data that CslaBinaryWriter sends over the wire
 
interface  ICslaReader
 Represents a reader class that can be used to read the data sent across the wire in byte array format when communicating between server and client in both directions More...
 
interface  ICslaWriter
 Represents a class that can be used to write a list of SerializationInfo objects into a stream, typically MemoryStream More...
 
interface  IMobileList
 Extension of IMobileObject for list types More...
 
interface  IMobileObject
 Interface to be implemented by any object that supports serialization by the SerializationFormatterFactory.GetFormatter(). More...
 
interface  ISerializationNotification
 Interface defining callback methods used by the SerializationFormatterFactory.GetFormatter(). More...
 
class  MobileFormatter
 Serializes and deserializes objects at the field level. More...
 
class  NullPlaceholder
 Placeholder for null child objects. More...
 
class  ReferenceComparer
 Implements an equality comparer for IMobileObject that compares the objects only on the basis is the reference value. More...
 
class  SerializationInfo
 Object containing the serialization data for a specific object. More...
 

Enumerations

enum  CslaKnownTypes : byte {
  Boolean = 1 , Char = 2 , SByte = 3 , Byte = 4 ,
  Int16 = 5 , UInt16 = 6 , Int32 = 7 , UInt32 = 8 ,
  Int64 = 9 , UInt64 = 10 , Single = 11 , Double = 12 ,
  Decimal = 13 , DateTime = 14 , String = 15 , TimeSpan = 16 ,
  DateTimeOffset = 17 , Guid = 18 , ByteArray = 19 , CharArray = 20 ,
  ListOfInt = 21 , Null = 22 , StringWithDictionaryKey = 23 , StringDictionaryKey = 24 ,
  ByteArrayArray = 25 , IMobileObject
}
 This enumeration contains the list of known types that CslaBinaryReader and CslaBinaryWriterknow about More...
 

Enumeration Type Documentation

◆ CslaKnownTypes

This enumeration contains the list of known types that CslaBinaryReader and CslaBinaryWriterknow about

Enumerator
Boolean 

Boolean

Char 

Character/char

SByte 

Signed byte

Byte 

Byte

Int16 

Short /Int 16

UInt16 

Unsigned short / Int 16

Int32 

Integer / Int32

UInt32 

Unsigned Integer / Int32

Int64 

Long / Int64

UInt64 

Unsigned Long / Int64

Single 

Single / single precision floating point

Double 

Double / double precision floating point

Decimal 

Decimal

DateTime 

Date / time

String 

String

TimeSpan 

TimeSpan - time span

DateTimeOffset 

Date/time plus time zone / DateTimeOffset

Guid 

Globally unique identifier / Guid

ByteArray 

Array of bytes.

can be used to represent images data

CharArray 

Array of characters, not the same as string

ListOfInt 

List of integer / List(of Int) Used internally for serialization of list based objects such as BusinessListBase

Null 

Represents null value

StringWithDictionaryKey 

Represents string that is supported by internal dictionary that is used to replace strings with integers to save space in the serialization process.

This entry contains both string and integer value of that string. This data is used to re-build the dictionary on the receiving end

StringDictionaryKey 

Key that corresponds to internally used string.

On the receiving end this value will be replaces with the actual string

ByteArrayArray 

Array of array of bytes

IMobileObject 

IMobileObject serialized into a byte array

Definition at line 8 of file CslaKnownTypes.cs.