JsonExSerializer.Collections.ListHandler Class Reference

Handler class for classes implementing IList. More...

Inherits JsonExSerializer.Collections.CollectionHandler.

List of all members.

Public Member Functions

override bool IsCollection (Type collectionType)
 Checks to see if the collection type is handled by this handler.
override ICollectionBuilder ConstructBuilder (Type collectionType, int itemCount)
 Constructs a collection builder for the given collection type. The type must be supported by this handler.
override ICollectionBuilder ConstructBuilder (object collection)
 Constructs a collection builder to update an existing collection. The type must be supported by this handler.


Detailed Description

Handler class for classes implementing IList.


Member Function Documentation

override bool JsonExSerializer.Collections.ListHandler.IsCollection ( Type  collectionType  )  [virtual]

Checks to see if the collection type is handled by this handler.

Parameters:
collectionType the type to check
Returns:
true if this handler can process the collection type

Implements JsonExSerializer.Collections.CollectionHandler.

override ICollectionBuilder JsonExSerializer.Collections.ListHandler.ConstructBuilder ( Type  collectionType,
int  itemCount 
) [virtual]

Constructs a collection builder for the given collection type. The type must be supported by this handler.

Parameters:
collectionType the type to construct a builder for
Returns:
a collection builder

Implements JsonExSerializer.Collections.CollectionHandler.

override ICollectionBuilder JsonExSerializer.Collections.ListHandler.ConstructBuilder ( object  collection  )  [virtual]

Constructs a collection builder to update an existing collection. The type must be supported by this handler.

Parameters:
collection an existing istance of the collection class to be populated
collectionType the type to construct a builder for
Returns:
a collection builder

Implements JsonExSerializer.Collections.CollectionHandler.


Generated on Fri Feb 15 23:33:58 2008 for JsonExSerializer by  doxygen 1.5.2