AutoMapper.QueryableExtensions.Impl.CustomProjectionExpressionBinder.BindCustomProjectionExpression C# (CSharp) Method

BindCustomProjectionExpression() private static method

private static BindCustomProjectionExpression ( PropertyMap propertyMap, TypeMap propertyTypeMap, ExpressionResolutionResult result ) : MemberAssignment
propertyMap PropertyMap
propertyTypeMap TypeMap
result ExpressionResolutionResult
return System.Linq.Expressions.MemberAssignment
        private static MemberAssignment BindCustomProjectionExpression(PropertyMap propertyMap, TypeMap propertyTypeMap, ExpressionResolutionResult result)
        {
            return Expression.Bind(propertyMap.DestinationProperty, propertyTypeMap.CustomProjection.ReplaceParameters(result.ResolutionExpression));
        }
    }