| ClassMapBuilderExtensibilityTestCase |
This test case demonstrates how one could extend ClassMapBuilder to define
your own method for matching fields up between types.
This example uses a scoring mechanism to rank how "close" two fields are to
each other based on their names, and starts by mapping the closest matches
first.
|
| ClassMapBuilderExtensibilityTestCase.ExtendedClassMapBuilder<A,B> |
|
| ClassMapBuilderExtensibilityTestCase.ExtendedClassMapBuilder.Factory |
|
| DefaultMapperFactoryExtensibilityTestCase |
This test verifies (demonstrates) the capability of DefaultMapperFactory
to be extended
|
| DefaultMapperFactoryExtensibilityTestCase.MyMapperFactory |
|
| DefaultMapperFactoryExtensibilityTestCase.MyMapperFactory.Builder |
We extend the builder of DefaultMapperFactory for one which
can create instances of our own MapperFactory type.
|
| PooledInstancesTestCase |
|
| PooledInstancesTestCase.DestObject |
|
| PooledInstancesTestCase.MyMapperFactory |
|
| PooledInstancesTestCase.MyMapperFactory.Builder |
|
| PooledInstancesTestCase.Pooled |
|
| PooledInstancesTestCase.SourceObject |
|
| PooledInstancesTestCase.SourcePoolView |
|
| PropertyResolverExtensibilityTestCase |
|
| PropertyResolverExtensibilityTestCase.Element |
|
| PropertyResolverExtensibilityTestCase.ElementPropertyResolver |
For my next trick, this is a custom Property Resolver which automatically
attempts a dynamic definition of type Element (after normal resolution
has failed)
|
| PropertyResolverExtensibilityTestCase.Person |
|