CSLA.NET 5.4.2
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
Csla.Core.MobileList< T > Class Template Reference

Implements a list that is serializable using the SerializationFormatterFactory.GetFormatter(). More...

Inheritance diagram for Csla.Core.MobileList< T >:
Csla.Serialization.Mobile.IMobileObject

Public Member Functions

 MobileList ()
 Creates an instance of the type. More...
 
 MobileList (int capacity)
 Creates an instance of the type. More...
 
 MobileList (IEnumerable< T > collection)
 Creates an instance of the type. More...
 

Protected Member Functions

virtual void OnGetState (SerializationInfo info)
 Override this method to add extra field values to the serialization stream. More...
 
virtual void OnGetChildren (SerializationInfo info, MobileFormatter formatter)
 Override this method to manually serialize child objects contained within the current object. More...
 
virtual void OnSetState (SerializationInfo info)
 Override this method to retrieve extra field values to the serialization stream. More...
 
virtual void OnSetChildren (SerializationInfo info, MobileFormatter formatter)
 Override this method to manually deserialize child objects from data in the serialization stream. More...
 

Detailed Description

Implements a list that is serializable using the SerializationFormatterFactory.GetFormatter().

Template Parameters
TType of object contained in the list.

Definition at line 28 of file MobileList.cs.

Constructor & Destructor Documentation

◆ MobileList() [1/3]

Creates an instance of the type.

Definition at line 33 of file MobileList.cs.

◆ MobileList() [2/3]

Csla.Core.MobileList< T >.MobileList ( int  capacity)

Creates an instance of the type.

Parameters
capacityCapacity of the list.

Definition at line 38 of file MobileList.cs.

◆ MobileList() [3/3]

Csla.Core.MobileList< T >.MobileList ( IEnumerable< T >  collection)

Creates an instance of the type.

Parameters
collectionData to add to list.

Definition at line 43 of file MobileList.cs.

Member Function Documentation

◆ OnGetChildren()

virtual void Csla.Core.MobileList< T >.OnGetChildren ( SerializationInfo  info,
MobileFormatter  formatter 
)
protectedvirtual

Override this method to manually serialize child objects contained within the current object.

Parameters
infoObject containing serialized values.
formatterReference to the current SerializationFormatterFactory.GetFormatter().

Definition at line 74 of file MobileList.cs.

◆ OnGetState()

virtual void Csla.Core.MobileList< T >.OnGetState ( SerializationInfo  info)
protectedvirtual

Override this method to add extra field values to the serialization stream.

Parameters
infoObject containing field values.

Definition at line 62 of file MobileList.cs.

◆ OnSetChildren()

virtual void Csla.Core.MobileList< T >.OnSetChildren ( SerializationInfo  info,
MobileFormatter  formatter 
)
protectedvirtual

Override this method to manually deserialize child objects from data in the serialization stream.

Parameters
infoObject containing serialized values.
formatterReference to the current SerializationFormatterFactory.GetFormatter().

Definition at line 117 of file MobileList.cs.

◆ OnSetState()

virtual void Csla.Core.MobileList< T >.OnSetState ( SerializationInfo  info)
protectedvirtual

Override this method to retrieve extra field values to the serialization stream.

Parameters
infoObject containing field values.

Definition at line 109 of file MobileList.cs.