50 writes to HtmlEncoder
Microsoft.AspNetCore.Mvc.Razor (2)
RazorPageBase.cs (2)
227
HtmlEncoder
= encoder;
253
HtmlEncoder
= scopeInfo.HtmlEncoder;
Microsoft.AspNetCore.Mvc.Razor.Test (48)
RazorPageTest.cs (14)
37
v.
HtmlEncoder
= new HtmlTestEncoder();
65
v.
HtmlEncoder
= new HtmlTestEncoder();
89
v.
HtmlEncoder
= new HtmlTestEncoder();
194
v.
HtmlEncoder
= new HtmlTestEncoder();
235
v.
HtmlEncoder
= new HtmlTestEncoder();
845
v.
HtmlEncoder
= new HtmlTestEncoder();
979
page.
HtmlEncoder
= new HtmlTestEncoder();
1021
page.
HtmlEncoder
= new HtmlTestEncoder();
1067
page.
HtmlEncoder
= new HtmlTestEncoder();
1110
page.
HtmlEncoder
= new HtmlTestEncoder();
1140
page.
HtmlEncoder
= new HtmlTestEncoder();
1206
page.
HtmlEncoder
= new HtmlTestEncoder();
1239
page.
HtmlEncoder
= new HtmlTestEncoder();
1441
HtmlEncoder
= new HtmlTestEncoder();
RazorViewTest.cs (34)
35
v.
HtmlEncoder
= new HtmlTestEncoder();
241
v.
HtmlEncoder
= htmlEncoder;
248
v.
HtmlEncoder
= htmlEncoder;
660
v.
HtmlEncoder
= htmlEncoder;
674
v.
HtmlEncoder
= htmlEncoder;
764
v.
HtmlEncoder
= htmlEncoder;
773
v.
HtmlEncoder
= htmlEncoder;
787
v.
HtmlEncoder
= htmlEncoder;
831
v.
HtmlEncoder
= htmlEncoder;
841
v.
HtmlEncoder
= htmlEncoder;
853
v.
HtmlEncoder
= htmlEncoder;
895
v.
HtmlEncoder
= htmlEncoder;
905
v.
HtmlEncoder
= htmlEncoder;
919
v.
HtmlEncoder
= htmlEncoder;
958
v.
HtmlEncoder
= htmlEncoder;
972
v.
HtmlEncoder
= htmlEncoder;
987
v.
HtmlEncoder
= htmlEncoder;
1071
v.
HtmlEncoder
= htmlEncoder;
1081
v.
HtmlEncoder
= htmlEncoder;
1092
v.
HtmlEncoder
= htmlEncoder;
1137
v.
HtmlEncoder
= htmlEncoder;
1151
v.
HtmlEncoder
= htmlEncoder;
1164
v.
HtmlEncoder
= htmlEncoder;
1308
v.
HtmlEncoder
= htmlEncoder;
1318
v.
HtmlEncoder
= htmlEncoder;
1331
v.
HtmlEncoder
= htmlEncoder;
1377
v.
HtmlEncoder
= htmlEncoder;
1390
v.
HtmlEncoder
= htmlEncoder;
1433
v.
HtmlEncoder
= htmlEncoder;
1445
v.
HtmlEncoder
= htmlEncoder;
1513
v.
HtmlEncoder
= new HtmlTestEncoder();
1524
v.
HtmlEncoder
= new HtmlTestEncoder();
1810
HtmlEncoder
= new HtmlTestEncoder();
1832
HtmlEncoder
= new HtmlTestEncoder();
12 references to HtmlEncoder
Microsoft.AspNetCore.Mvc.Razor (5)
RazorPageBase.cs (5)
208
/// Starts a new writing scope and optionally overrides <see cref="
HtmlEncoder
"/> within that scope.
212
/// non-<see cref="IHtmlContent"/> C# expressions. If <c>null</c>, does not change <see cref="
HtmlEncoder
"/>.
222
TagHelperScopes.Push(new TagHelperScopeInfo(buffer,
HtmlEncoder
, viewContext.Writer));
404
var encoder =
HtmlEncoder
;
439
var encoder =
HtmlEncoder
;
Microsoft.AspNetCore.Mvc.Razor.Test (7)
RazorPageActivatorTest.cs (3)
62
Assert.Same(HtmlEncoder, instance.
HtmlEncoder
);
100
Assert.Same(HtmlEncoder, instance.
HtmlEncoder
);
127
Assert.Same(HtmlEncoder, instance.
HtmlEncoder
);
RazorPageTest.cs (4)
151
Assert.Same(encoder, page.
HtmlEncoder
);
162
var originalEncoder = page.
HtmlEncoder
;
169
Assert.Same(originalEncoder, page.
HtmlEncoder
);
1451
bufferedWriter.Buffer.WriteTo(stringWriter,
HtmlEncoder
);