44using System . Linq . Expressions ;
55using System . Text . RegularExpressions ;
66using System . Web ;
7- #if NET45
7+ #if NET45_OR_GREATER
88using System . Web . Helpers ;
99using System . Web . Mvc ;
1010using System . Web . Routing ;
@@ -66,23 +66,23 @@ string GetIdFromExpression(LambdaExpression expression)
6666 public GriddlyFilter Filter { get ; set ; }
6767
6868 public abstract HtmlString RenderUnderlyingValue ( object row ,
69- #if NET45
69+ #if NET45_OR_GREATER
7070 HtmlHelper html
7171#else
7272 IHtmlHelper html
7373#endif
7474 ) ;
7575
7676 public abstract HtmlString RenderCell ( object row , GriddlySettings settings ,
77- #if NET45
77+ #if NET45_OR_GREATER
7878 HtmlHelper html ,
7979#else
8080 IHtmlHelper html ,
8181#endif
8282 bool encode = true ) ;
8383
8484 public abstract object RenderCellValue ( object row ,
85- #if NET45
85+ #if NET45_OR_GREATER
8686 HttpContextBase httpContext ,
8787#else
8888 HttpContext httpContext ,
@@ -100,7 +100,7 @@ public virtual IDictionary<string, object> GenerateHtmlAttributes(object row, Gr
100100 }
101101
102102 public virtual HtmlString RenderValue ( object value ,
103- #if NET45
103+ #if NET45_OR_GREATER
104104 HtmlHelper html ,
105105#else
106106 IHtmlHelper html ,
@@ -201,7 +201,7 @@ public override IDictionary<string, object> GenerateHtmlAttributes(object row, G
201201 }
202202
203203 public override HtmlString RenderCell ( object row , GriddlySettings settings ,
204- #if NET45
204+ #if NET45_OR_GREATER
205205 HtmlHelper html ,
206206#else
207207 IHtmlHelper html ,
@@ -251,7 +251,7 @@ public override HtmlString RenderCell(object row, GriddlySettings settings,
251251 }
252252
253253 public override HtmlString RenderUnderlyingValue ( object row ,
254- #if NET45
254+ #if NET45_OR_GREATER
255255 HtmlHelper html
256256#else
257257 IHtmlHelper html
@@ -287,7 +287,7 @@ IHtmlHelper html
287287 }
288288
289289 public override object RenderCellValue ( object row ,
290- #if NET45
290+ #if NET45_OR_GREATER
291291 HttpContextBase httpContext ,
292292#else
293293 HttpContext httpContext ,
0 commit comments