/// <summary> /// Initializes a new instance of the <see cref="MarketDescriptionsMapper"/> class /// </summary> /// <param name="data">A <see cref="market_descriptions"/> instance containing data used to construct <see cref="MarketDescriptionDTO"/> instance</param> internal MarketDescriptionMapper(market_descriptions data) { Guard.Argument(data, nameof(data)).NotNull(); _data = data; }
/// <summary> /// Initializes a new instance of the <see cref="MarketDescriptionsMapper"/> class /// </summary> /// <param name="data">A <see cref="market_descriptions"/> instance containing data used to construct <see cref="MarketDescriptionDTO"/> instance</param> internal MarketDescriptionMapper(market_descriptions data) { Contract.Requires(data != null); _data = data; }
/// <summary> /// Creates and returns an instance of Mapper for mapping <see cref="market_descriptions"/> /// </summary> /// <param name="data">A input instance which the created <see cref="MarketDescriptionMapper"/> will map</param> /// <returns>New <see cref="MarketDescriptionMapper" /> instance</returns> public ISingleTypeMapper <EntityList <MarketDescriptionDTO> > CreateMapper(market_descriptions data) { return(new MarketDescriptionsMapper(data)); }
/// <summary> /// Creates and returns an instance of Mapper for mapping <see cref="market_descriptions"/> /// </summary> /// <param name="data">A input instance which the created <see cref="MarketDescriptionsMapper"/> will map</param> /// <returns>New <see cref="MarketDescriptionsMapper" /> instance</returns> public ISingleTypeMapper <IEnumerable <MarketDescriptionDTO> > CreateMapper(market_descriptions data) { return(new MarketDescriptionsMapper(data)); }