Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class Microsoft.​Extensions.​Configuration.​ConfigurationRootExtensions

Assembly: Microsoft.Extensions.Configuration.Abstractions

Inheritance: object → ConfigurationRootExtensions

Provides extension methods for <see cref="T:Microsoft.Extensions.Configuration.IConfigurationRoot" /> .

Methods

public static string
GetDebugView​(IConfigurationRoot root)
Generates a human-readable view of the configuration showing where each value came from.
Returns The debug view.
public static string
GetDebugView​(IConfigurationRoot root, System.​Func?<​ConfigurationDebugViewContext, string> processValue)
Generates a human-readable view of the configuration showing where each value came from.
Returns The debug view.
root The configuration root.
processValue The function for processing the value, for example, hiding secrets. Parameters: ConfigurationDebugViewContext: Context of the current configuration item. returns: A string value is used to assign as the Value of the configuration section.
public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object