Mercurial > pub > bltoolkit
view Source/Mapping/SimpleDestinationListMapper.cs @ 5:f7d63a092920
Исправлено условие Where в тех случаях, когда репозитарий не является генериком
author | cin |
---|---|
date | Tue, 10 Mar 2015 16:02:11 +0300 |
parents | f990fcb411a9 |
children |
line wrap: on
line source
using System; using BLToolkit.Reflection; namespace BLToolkit.Mapping { public class SimpleDestinationListMapper : IMapDataDestinationList { [CLSCompliant(false)] public SimpleDestinationListMapper(IMapDataDestination mapper) { _mapper = mapper; } private readonly IMapDataDestination _mapper; #region IMapDataDestinationList Members public virtual void InitMapping(InitContext initContext) { } [CLSCompliant(false)] public virtual IMapDataDestination GetDataDestination(InitContext initContext) { return _mapper; } public virtual object GetNextObject(InitContext initContext) { return _mapper; } public virtual void EndMapping(InitContext initContext) { } #endregion } }