コード例 #1
0
        /// <summary>
        /// Initializes a new instance of the <see><cref>ItemBasedEntityMapper{TTarget}</cref></see> class.
        /// </summary>
        /// <param name="mappingItemMatcher">The mapping item matcher.</param>
        /// <param name="mappings">The mappings.</param>
        protected ItemBasedEntityMapper(MappingItemMatcher mappingItemMatcher, EntityMemberConverterLookupTable mappings)
        {
            Assert.IsNotNull(mappingItemMatcher, "mappingItemMatcher");
            Assert.IsNotNull(mappings, "mappings");

            this.mappingItemMatcher = mappingItemMatcher;
            this.mappings           = mappings;
        }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EntityToItemMapper" /> class.
 /// </summary>
 /// <param name="mappingItemMatcher">The mapping item matcher.</param>
 /// <param name="mappings">The mappings.</param>
 public EntityToItemMapper(MappingItemMatcher mappingItemMatcher, EntityMemberConverterLookupTable mappings)
     : base(mappingItemMatcher, mappings)
 {
 }