Share via


RegisterPersistentComponentStateServiceCollectionExtensions Class

Definition

Infrastructure APIs for registering services that persist state.

public static class RegisterPersistentComponentStateServiceCollectionExtensions
type RegisterPersistentComponentStateServiceCollectionExtensions = class
Public Class RegisterPersistentComponentStateServiceCollectionExtensions
Inheritance
RegisterPersistentComponentStateServiceCollectionExtensions

Methods

Name Description
AddPersistentServiceRegistration<TService>(IServiceCollection, IComponentRenderMode)

Saves TService state when the application is persisting state and restores it at the appropriate time automatically.

Applies to