7 types derived from PageBase
Microsoft.AspNetCore.Mvc.RazorPages (1)
Page.cs (1)
9
public abstract class Page :
PageBase
Microsoft.AspNetCore.Mvc.RazorPages.Test (5)
ApplicationModels\DefaultPageApplicationModelProviderTest.cs (4)
76
private class PageWithoutModelProperty :
PageBase
99
private class PageWithNonVisibleModel :
PageBase
124
private class PageWithStaticModel :
PageBase
397
private class PageWithBindPropertyModel :
PageBase
Builder\PageActionEndpointConventionBuilderResourceCollectionExtensionsTest.cs (1)
249
private class Index :
PageBase
RazorPagesWebSite (1)
Pages\CustomBaseType\CustomPageBase.cs (1)
7
public abstract class CustomPageBase :
PageBase
14 references to PageBase
Microsoft.AspNetCore.Mvc.RazorPages (12)
ApplicationModels\DefaultPageApplicationModelPartsProvider.cs (1)
196
declaringType == typeof(
PageBase
) ||
ApplicationModels\DefaultPageApplicationModelProvider.cs (2)
67
if (!typeof(
PageBase
).GetTypeInfo().IsAssignableFrom(pageTypeInfo))
71
typeof(
PageBase
).FullName));
Infrastructure\DefaultPageFactoryProvider.cs (4)
44
if (!typeof(
PageBase
).GetTypeInfo().IsAssignableFrom(actionDescriptor.PageTypeInfo))
48
typeof(
PageBase
).FullName));
61
var
page = (
PageBase
)activatorFactory(pageContext, viewContext);
Infrastructure\PageActionInvoker.cs (3)
26
private
PageBase
? _page;
122
_page = (
PageBase
)CacheEntry.PageFactory(_pageContext, _viewContext);
160
_page = (
PageBase
)CacheEntry.PageFactory(_pageContext, _viewContext);
PageResult.cs (2)
26
/// Gets or sets the <see cref="
PageBase
"/> to be executed.
28
public
PageBase
Page { get; set; } = default!;
Microsoft.AspNetCore.Mvc.RazorPages.Test (2)
ApplicationModels\DefaultPageApplicationModelProviderTest.cs (1)
31
$"The type '{typeInfo.FullName}' is not a valid page. A page must inherit from '{typeof(
PageBase
).FullName}'.",
Infrastructure\DefaultPageFactoryProviderTest.cs (1)
37
$"Page created by '{pageActivator.GetType()}' must be an instance of '{typeof(
PageBase
)}'.",