PersistentStateProviderServiceCollectionExtensions.AddSupplyValueFromPersistentComponentStateProvider Method
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.
Enables component parameters to be supplied from PersistentComponentState with PersistentStateAttribute.
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddSupplyValueFromPersistentComponentStateProvider(this Microsoft.Extensions.DependencyInjection.IServiceCollection services);
static member AddSupplyValueFromPersistentComponentStateProvider : Microsoft.Extensions.DependencyInjection.IServiceCollection -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddSupplyValueFromPersistentComponentStateProvider (services As IServiceCollection) As IServiceCollection
Parameters
- services
- IServiceCollection
The IServiceCollection.
Returns
The IServiceCollection.