共用方式為


AzureAppConfigurationOptions.Map Method

Definition

Provides a way to transform settings retrieved from App Configuration before they are processed by the configuration provider.

public Microsoft.Extensions.Configuration.AzureAppConfiguration.AzureAppConfigurationOptions Map (Func<Azure.Data.AppConfiguration.ConfigurationSetting,System.Threading.Tasks.ValueTask<Azure.Data.AppConfiguration.ConfigurationSetting>> mapper);
member this.Map : Func<Azure.Data.AppConfiguration.ConfigurationSetting, System.Threading.Tasks.ValueTask<Azure.Data.AppConfiguration.ConfigurationSetting>> -> Microsoft.Extensions.Configuration.AzureAppConfiguration.AzureAppConfigurationOptions
Public Function Map (mapper As Func(Of ConfigurationSetting, ValueTask(Of ConfigurationSetting))) As AzureAppConfigurationOptions

Parameters

mapper
Func<ConfigurationSetting,ValueTask<ConfigurationSetting>>

A callback registered by the user to transform each configuration setting.

Returns

Applies to