你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ComputeMapperExtension.ForItems<TSource,TDestination,T> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static AutoMapper.IMappingExpression<TSource,TDestination> ForItems<TSource,TDestination,T> (this AutoMapper.IMappingExpression<TSource,TDestination> mapper) where TSource : System.Collections.IEnumerable where TDestination : System.Collections.Generic.ICollection<T>;
static member ForItems : AutoMapper.IMappingExpression<'Source, 'Destination (requires 'Source :> System.Collections.IEnumerable and 'Destination :> System.Collections.Generic.ICollection<'T>)> -> AutoMapper.IMappingExpression<'Source, 'Destination (requires 'Source :> System.Collections.IEnumerable and 'Destination :> System.Collections.Generic.ICollection<'T>)> (requires 'Source :> System.Collections.IEnumerable and 'Destination :> System.Collections.Generic.ICollection<'T>)
<Extension()>
Public Function ForItems(Of TSource As IEnumerable, TDestination As IEnumerable, T As IEnumerable) (mapper As IMappingExpression(Of TSource, TDestination)) As IMappingExpression(Of TSource, TDestination)
Type Parameters
- TSource
- TDestination
- T
Parameters
- mapper
- AutoMapper.IMappingExpression<TSource,TDestination>
Returns
AutoMapper.IMappingExpression<TSource,TDestination>