AutoMapper.QueryableExtensions.Impl.NullableExpressionBinder.IsMatch C# (CSharp) Method

IsMatch() public method

public IsMatch ( PropertyMap propertyMap, TypeMap propertyTypeMap, ExpressionResolutionResult result ) : bool
propertyMap PropertyMap
propertyTypeMap TypeMap
result ExpressionResolutionResult
return bool
        public bool IsMatch(PropertyMap propertyMap, TypeMap propertyTypeMap, ExpressionResolutionResult result)
        {
            return propertyMap.DestinationPropertyType.IsNullableType()
                   && !result.Type.IsNullableType();
        }