FileConfigurationExtensions クラス

定義

FileConfigurationProviderの拡張メソッドを提供します。

public ref class FileConfigurationExtensions abstract sealed
public static class FileConfigurationExtensions
type FileConfigurationExtensions = class
Public Module FileConfigurationExtensions
継承
FileConfigurationExtensions

注釈

詳細と例については、「 ファイル構成プロバイダー」を参照してください。

メソッド

名前 説明
GetFileLoadExceptionHandler(IConfigurationBuilder)

エラーが発生したときにファイル ベースのプロバイダーに対して呼び出される既定のアクションを取得します。

GetFileProvider(IConfigurationBuilder)

ファイル ベースのプロバイダーに使用する既定の IFileProvider を取得します。

SetBasePath(IConfigurationBuilder, String)

ファイル ベースのプロバイダーの FileProvider を、ベース パスを持つ PhysicalFileProvider に設定します。

SetFileLoadExceptionHandler(IConfigurationBuilder, Action<FileLoadExceptionContext>)

エラーが発生したときにファイル ベースのプロバイダーに対して呼び出される既定のアクションを設定します。

SetFileProvider(IConfigurationBuilder, IFileProvider)

ファイル ベースのプロバイダーに使用する既定の IFileProvider を設定します。

適用対象