JsonExSerializer.Collections.GenericCollectionHandler Class Reference

Handler class for Generic ICollection interface. 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.
override Type GetItemType (Type CollectionType)
 Gets the type of items that this collection type holds. The default is System.Object.


Detailed Description

Handler class for Generic ICollection interface.


Member Function Documentation

override bool JsonExSerializer.Collections.GenericCollectionHandler.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.GenericCollectionHandler.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.GenericCollectionHandler.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.

override Type JsonExSerializer.Collections.GenericCollectionHandler.GetItemType ( Type  CollectionType  )  [virtual]

Gets the type of items that this collection type holds. The default is System.Object.

Parameters:
CollectionType the type of the collection
Returns:
the item type

Reimplemented from JsonExSerializer.Collections.CollectionHandler.


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