File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 15
15
//
16
16
// You can specify all the values or you can default the Revision and Build Numbers
17
17
// by using the '*' as shown below:
18
- [ assembly: AssemblyVersion ( "3.6.38 " ) ]
19
- [ assembly: AssemblyFileVersion ( "3.6.38 " ) ]
18
+ [ assembly: AssemblyVersion ( "3.6.39 " ) ]
19
+ [ assembly: AssemblyFileVersion ( "3.6.39 " ) ]
20
20
//[assembly: AssemblyInformationalVersion("2.5-filters")]
Original file line number Diff line number Diff line change @@ -49,11 +49,11 @@ void OnActionExecuting(ActionExecutingContext filterContext)
49
49
{
50
50
#if NETFRAMEWORK
51
51
if ( filterContext . ActionDescriptor . ActionName . EndsWith ( "grid" , StringComparison . OrdinalIgnoreCase )
52
- || ( filterContext . ActionDescriptor as ReflectedActionDescriptor ) ? . MethodInfo . ReturnType == typeof ( GriddlyResult )
53
- || ( filterContext . ActionDescriptor as TaskAsyncActionDescriptor ) ? . TaskMethodInfo . ReturnType == typeof ( GriddlyResult ) )
52
+ || typeof ( GriddlyResult ) . IsAssignableFrom ( ( filterContext . ActionDescriptor as ReflectedActionDescriptor ) ? . MethodInfo . ReturnType )
53
+ || typeof ( GriddlyResult ) . IsAssignableFrom ( ( filterContext . ActionDescriptor as TaskAsyncActionDescriptor ) ? . TaskMethodInfo . ReturnType ) )
54
54
#else
55
55
if ( filterContext . RouteData . Values [ "action" ] . ToString ( ) . EndsWith ( "grid" , StringComparison . OrdinalIgnoreCase )
56
- || ( filterContext . ActionDescriptor as ControllerActionDescriptor ) ? . MethodInfo . ReturnType == typeof ( GriddlyResult ) )
56
+ || typeof ( GriddlyResult ) . IsAssignableFrom ( ( filterContext . ActionDescriptor as ControllerActionDescriptor ) ? . MethodInfo . ReturnType ) )
57
57
#endif
58
58
{
59
59
var request = filterContext . HttpContext . Request ;
You can’t perform that action at this time.
0 commit comments