PersistComponentStateTagHelper Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A TagHelper that saves the state of Razor components rendered on the page up to that point.
[Microsoft.AspNetCore.Razor.TagHelpers.HtmlTargetElement("persist-component-state", TagStructure=Microsoft.AspNetCore.Razor.TagHelpers.TagStructure.WithoutEndTag)]
public class PersistComponentStateTagHelper : Microsoft.AspNetCore.Razor.TagHelpers.TagHelper
[<Microsoft.AspNetCore.Razor.TagHelpers.HtmlTargetElement("persist-component-state", TagStructure=Microsoft.AspNetCore.Razor.TagHelpers.TagStructure.WithoutEndTag)>]
type PersistComponentStateTagHelper = class
inherit TagHelper
Public Class PersistComponentStateTagHelper
Inherits TagHelper
- Inheritance
- Attributes
Constructors
PersistComponentStateTagHelper() |
Properties
Order |
When a set of ITagHelpers are executed, their Init(TagHelperContext)'s are first invoked in the specified Order; then their ProcessAsync(TagHelperContext, TagHelperOutput)'s are invoked in the specified Order. Lower values are executed first. (Inherited from TagHelper) |
PersistenceMode |
Gets or sets the PersistenceMode for the state to persist. |
ViewContext |
Gets or sets the ViewContext for the current request. |
Methods
Init(TagHelperContext) |
Initializes the ITagHelper with the given |
Process(TagHelperContext, TagHelperOutput) |
Synchronously executes the TagHelper with the given |
ProcessAsync(TagHelperContext, TagHelperOutput) |
Asynchronously executes the TagHelper with the given |