Example #1
0
 private static bool IsProjection <T>(Type resultType)
 {
     return(PrimitiveExtensions.IsEnumerableType(resultType) && !PrimitiveExtensions.IsQueryableType(resultType) &&
            resultType != typeof(string) && PrimitiveExtensions.GetGenericElementType(resultType) == typeof(T));
 }