- Namespace
- Statiq
.Razor - Base Types
-
- RazorPage
<TModel>
- RazorPage
graph BT
Type-->Base0["RazorPage<TModel>"]
Type["StatiqRazorPage<TModel>"]
class Type type-node
Syntax
public abstract class StatiqRazorPage<TModel> : RazorPage<TModel>
Type Parameters
Name | Description |
---|---|
TModel |
Properties
Name | Property Type | Summary |
---|---|---|
Context | IExecutionContext | |
Document | IDocument | |
ExecutionContext | IExecutionContext | |
HttpContext | HttpContext | |
Inputs | ImmutableArray |
|
Metadata | IMetadata | |
OutputPages | FilteredDocumentList |
|
Outputs | IPipelineOutputs |
Methods
Name | Return Value | Summary |
---|---|---|
GetHtmlHelper |
IHtmlHelper |
The
IHtmlHelper isn't normally available in the page, so get one
and contextualize it from the service provider.
|
RenderSection |
IHtmlContent |
Renders the content of the specified section if it's defined.
If the section is not defined, renders the provided content.
|
Render |
IHtmlContent |
Renders the content of the specified section if it's defined.
If the section is not defined, renders the provided partial.
|