예제 #1
0
        /// <summary>
        /// Registers all Properties Mappings & Projection Expressions factory methods of instnce.
        /// </summary>
        /// <param name="mapper">Multiply Mapping factories container.</param>
        public static void RegisterAll(IMultipleMappings mapper)
        {
            var mapperType            = mapper.GetType();
            var implementedInterfaces = mapperType.GetInterfaces();

            MappingResolver.RegisterAll(mapper, mapperType, implementedInterfaces);
            SelectResolver.RegisterAll(mapper, mapperType, implementedInterfaces);
            SelectResolverWith1Params.RegisterAll(mapper, mapperType, implementedInterfaces);
        }