ConfigurationRootExtensions.GetDebugView Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Overloads
| Naam | Description |
|---|---|
| GetDebugView(IConfigurationRoot) |
Hiermee wordt een door mensen leesbare weergave van de configuratie gegenereerd die aangeeft waar elke waarde vandaan komt. |
| GetDebugView(IConfigurationRoot, Func<ConfigurationDebugViewContext,String>) |
Hiermee wordt een door mensen leesbare weergave van de configuratie gegenereerd die aangeeft waar elke waarde vandaan komt. |
GetDebugView(IConfigurationRoot)
Hiermee wordt een door mensen leesbare weergave van de configuratie gegenereerd die aangeeft waar elke waarde vandaan komt.
public:
[System::Runtime::CompilerServices::Extension]
static System::String ^ GetDebugView(Microsoft::Extensions::Configuration::IConfigurationRoot ^ root);
public static string GetDebugView(this Microsoft.Extensions.Configuration.IConfigurationRoot root);
static member GetDebugView : Microsoft.Extensions.Configuration.IConfigurationRoot -> string
<Extension()>
Public Function GetDebugView (root As IConfigurationRoot) As String
Parameters
- root
- IConfigurationRoot
Retouren
De foutopsporingsweergave.
Van toepassing op
GetDebugView(IConfigurationRoot, Func<ConfigurationDebugViewContext,String>)
Hiermee wordt een door mensen leesbare weergave van de configuratie gegenereerd die aangeeft waar elke waarde vandaan komt.
public:
[System::Runtime::CompilerServices::Extension]
static System::String ^ GetDebugView(Microsoft::Extensions::Configuration::IConfigurationRoot ^ root, Func<Microsoft::Extensions::Configuration::ConfigurationDebugViewContext, System::String ^> ^ processValue);
public static string GetDebugView(this Microsoft.Extensions.Configuration.IConfigurationRoot root, Func<Microsoft.Extensions.Configuration.ConfigurationDebugViewContext,string>? processValue);
static member GetDebugView : Microsoft.Extensions.Configuration.IConfigurationRoot * Func<Microsoft.Extensions.Configuration.ConfigurationDebugViewContext, string> -> string
<Extension()>
Public Function GetDebugView (root As IConfigurationRoot, processValue As Func(Of ConfigurationDebugViewContext, String)) As String
Parameters
- root
- IConfigurationRoot
De hoofdmap van de configuratie.
- processValue
- Func<ConfigurationDebugViewContext,String>
De functie voor het verwerken van de waarde, bijvoorbeeld het verbergen van geheimen. Parameters: ConfigurationDebugViewContext: Context van het huidige configuratie-item. retourneert: Een tekenreekswaarde wordt gebruikt om toe te wijzen als de waarde van de configuratiesectie.
Retouren
De foutopsporingsweergave.