4
4
using System . Linq . Expressions ;
5
5
using System . Text . RegularExpressions ;
6
6
using System . Web ;
7
- #if NET45
7
+ #if NET45_OR_GREATER
8
8
using System . Web . Helpers ;
9
9
using System . Web . Mvc ;
10
10
using System . Web . Routing ;
@@ -66,23 +66,23 @@ string GetIdFromExpression(LambdaExpression expression)
66
66
public GriddlyFilter Filter { get ; set ; }
67
67
68
68
public abstract HtmlString RenderUnderlyingValue ( object row ,
69
- #if NET45
69
+ #if NET45_OR_GREATER
70
70
HtmlHelper html
71
71
#else
72
72
IHtmlHelper html
73
73
#endif
74
74
) ;
75
75
76
76
public abstract HtmlString RenderCell ( object row , GriddlySettings settings ,
77
- #if NET45
77
+ #if NET45_OR_GREATER
78
78
HtmlHelper html ,
79
79
#else
80
80
IHtmlHelper html ,
81
81
#endif
82
82
bool encode = true ) ;
83
83
84
84
public abstract object RenderCellValue ( object row ,
85
- #if NET45
85
+ #if NET45_OR_GREATER
86
86
HttpContextBase httpContext ,
87
87
#else
88
88
HttpContext httpContext ,
@@ -100,7 +100,7 @@ public virtual IDictionary<string, object> GenerateHtmlAttributes(object row, Gr
100
100
}
101
101
102
102
public virtual HtmlString RenderValue ( object value ,
103
- #if NET45
103
+ #if NET45_OR_GREATER
104
104
HtmlHelper html ,
105
105
#else
106
106
IHtmlHelper html ,
@@ -201,7 +201,7 @@ public override IDictionary<string, object> GenerateHtmlAttributes(object row, G
201
201
}
202
202
203
203
public override HtmlString RenderCell ( object row , GriddlySettings settings ,
204
- #if NET45
204
+ #if NET45_OR_GREATER
205
205
HtmlHelper html ,
206
206
#else
207
207
IHtmlHelper html ,
@@ -251,7 +251,7 @@ public override HtmlString RenderCell(object row, GriddlySettings settings,
251
251
}
252
252
253
253
public override HtmlString RenderUnderlyingValue ( object row ,
254
- #if NET45
254
+ #if NET45_OR_GREATER
255
255
HtmlHelper html
256
256
#else
257
257
IHtmlHelper html
@@ -287,7 +287,7 @@ IHtmlHelper html
287
287
}
288
288
289
289
public override object RenderCellValue ( object row ,
290
- #if NET45
290
+ #if NET45_OR_GREATER
291
291
HttpContextBase httpContext ,
292
292
#else
293
293
HttpContext httpContext ,
0 commit comments