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.Configuration.SerializationOptions Class Reference

Use this type to configure the settings for serialization. More...

Public Member Functions

SerializationOptions SerializationFormatter (Type formatterType)
 Sets the serialization formatter type used by CSLA .NET for all explicit object serialization (such as cloning, n-level undo, etc). More...
 
SerializationOptions MobileWriter< T > ()
 Sets type of the writer that is used to write data to serialization stream in SerializationFormatterFactory.GetFormatter(). More...
 
SerializationOptions MobileReader< T > ()
 Sets type of the writer that is used to read data to serialization stream in SerializationFormatterFactory.GetFormatter(). More...
 

Detailed Description

Use this type to configure the settings for serialization.

Definition at line 16 of file SerializationOptions.cs.

Member Function Documentation

◆ MobileReader< T >()

SerializationOptions Csla.Configuration.SerializationOptions.MobileReader< T > ( )

Sets type of the writer that is used to read data to serialization stream in SerializationFormatterFactory.GetFormatter().

Type Constraints
T :ICslaReader 

Definition at line 44 of file SerializationOptions.cs.

◆ MobileWriter< T >()

SerializationOptions Csla.Configuration.SerializationOptions.MobileWriter< T > ( )

Sets type of the writer that is used to write data to serialization stream in SerializationFormatterFactory.GetFormatter().

Type Constraints
T :ICslaWriter 

Definition at line 34 of file SerializationOptions.cs.

◆ SerializationFormatter()

SerializationOptions Csla.Configuration.SerializationOptions.SerializationFormatter ( Type  formatterType)

Sets the serialization formatter type used by CSLA .NET for all explicit object serialization (such as cloning, n-level undo, etc).

Default is MobileFormatter.

Parameters
formatterTypeSerialization formatter type.

Definition at line 24 of file SerializationOptions.cs.