Example #1
0
        public TargetMapperBuilder(IDynamicAssembly assembly)
        {
            Assembly = assembly;

            _classMapperBuilder           = new ClassMapperBuilder(this);
            _collectionMapperBuilder      = new CollectionMapperBuilder(this);
            _convertibleTypeMapperBuilder = new ConvertibleTypeMapperBuilder(this);
        }
        public TargetMapperBuilder(IDynamicAssembly assembly)
        {
            Assembly = assembly;

            _classMapperBuilder           = new ClassMapperBuilder(this);
            _collectionMapperBuilder      = new CollectionMapperBuilder(this);
            _convertibleTypeMapperBuilder = new ConvertibleTypeMapperBuilder(this);
            _customTypeMapperBuilder      = new CustomTypeMapperBuilder(this);

            NameMatching = DefaultNameMatching;
        }