1 write to PageName
Microsoft.AspNetCore.Mvc.Core (1)
RedirectToPageResult.cs (1)
151
PageName
= pageName;
49 references to PageName
Microsoft.AspNetCore.Mvc.Core (3)
Infrastructure\RedirectToPageResultExecutor.cs (3)
41
result.
PageName
,
50
throw new InvalidOperationException(Resources.FormatNoRoutesMatchedForPage(result.
PageName
));
53
Log.RedirectToPageResultExecuting(_logger, result.
PageName
);
Microsoft.AspNetCore.Mvc.Core.Test (14)
ControllerBaseTest.cs (14)
1013
Assert.Equal(pageName, result.
PageName
);
1029
Assert.Equal(pageName, result.
PageName
);
1046
Assert.Equal(pageName, result.
PageName
);
1070
Assert.Equal(pageName, result.
PageName
);
1090
Assert.Equal(pageName, result.
PageName
);
1114
Assert.Equal(pageName, result.
PageName
);
1131
Assert.Equal(pageName, result.
PageName
);
1149
Assert.Equal(pageName, result.
PageName
);
1174
Assert.Equal(pageName, result.
PageName
);
1195
Assert.Equal(pageName, result.
PageName
);
1222
Assert.Same(url, result.
PageName
);
1242
Assert.Same(pageName, resultPermanent.
PageName
);
1263
Assert.Same(routeName, resultPermanent.
PageName
);
3184
Assert.Equal("page", result.
PageName
);
Microsoft.AspNetCore.Mvc.RazorPages.Test (32)
PageModelTest.cs (16)
970
Assert.Null(result.
PageName
);
985
Assert.Equal(pageName, result.
PageName
);
1000
Assert.Null(result.
PageName
);
1023
Assert.Equal(pageName, result.
PageName
);
1040
Assert.Equal(pageName, result.
PageName
);
1064
Assert.Equal(pageName, result.
PageName
);
1084
Assert.Equal(pageName, result.
PageName
);
1108
Assert.Equal(pageName, result.
PageName
);
1125
Assert.Equal(pageName, result.
PageName
);
1143
Assert.Equal(pageName, result.
PageName
);
1168
Assert.Equal(pageName, result.
PageName
);
1194
Assert.Equal(pageName, result.
PageName
);
1215
Assert.Equal(pageName, result.
PageName
);
1242
Assert.Same(url, result.
PageName
);
1262
Assert.Same(pageName, resultPermanent.
PageName
);
1283
Assert.Same(routeName, resultPermanent.
PageName
);
PageTest.cs (16)
1044
Assert.Null(result.
PageName
);
1059
Assert.Equal(pageName, result.
PageName
);
1074
Assert.Null(result.
PageName
);
1097
Assert.Equal(pageName, result.
PageName
);
1114
Assert.Equal(pageName, result.
PageName
);
1138
Assert.Equal(pageName, result.
PageName
);
1158
Assert.Equal(pageName, result.
PageName
);
1182
Assert.Equal(pageName, result.
PageName
);
1199
Assert.Equal(pageName, result.
PageName
);
1217
Assert.Equal(pageName, result.
PageName
);
1242
Assert.Equal(pageName, result.
PageName
);
1268
Assert.Equal(pageName, result.
PageName
);
1289
Assert.Equal(pageName, result.
PageName
);
1316
Assert.Same(url, result.
PageName
);
1336
Assert.Same(pageName, resultPermanent.
PageName
);
1357
Assert.Same(routeName, resultPermanent.
PageName
);