• APIブラウザ
  • 設計思想
Show / Hide Table of Contents
  • ExapisSOP
    • AppWorker
    • ContextEventArgs
    • HostRunner
    • IConfiguration
    • IContext
    • IPipeline
    • IProcess
    • IProcess<TParam, TResult>
    • IService
    • TerminationEventArgs
    • TerminationException
    • TerminationReason
    • UnhandledErrorEventArgs
    • VersionInfo
  • ExapisSOP.Binary
    • DataValue
  • ExapisSOP.Core
    • ConfigurationExtensions
    • ContextExtensions
    • CustomPipelineProcess<TParam, TResult>
    • ImmutablePipeline
    • Pipeline
    • PipelineExtensions
    • PipelineExtensions.ExceptionHandler
    • PipelineExtensions.ExceptionHandler<TParam, TResult>
    • PipelineExtensions.LoggingProcess
    • PipelineExtensions.NextProcessFunc
    • PipelineExtensions.ProcessFunc
    • PipelineExtensions.ProcessFunc<TParam, TResult>
    • PipelineExtensions.ProcessFuncWrapper
    • PipelineExtensions.ProcessFuncWrapper<TParam, TResult>
  • ExapisSOP.Globalization
    • EnglishErrorReportBuilder
    • JapaneseErrorReportBuilder
  • ExapisSOP.IO
    • CachedStream
    • DefaultPath
    • FileSystemServiceOptions
    • FileSystemServiceOptionsExtensions
    • IFileSystemService
    • InvalidPathFormatException
    • IPathList
    • Paths
    • PathString
    • PathStringFormatter
  • ExapisSOP.IO.Logging
    • ConsoleLogger
    • DefaultErrorDetailProvider
    • ErrorReportBuilder
    • ExceptionRecord
    • HResultDetailProvider
    • ICustomErrorDetailProvider
    • ILogFile
    • ILoggable
    • ILogger
    • ILoggingSystemService
    • LogData
    • LogFile
    • LogFileType
    • Logger
    • LoggerExtension
    • LoggingSystemServiceOptions
    • LoggingSystemServiceOptions.CreateLogFile
    • LogLevel
    • LongMessageRecord
    • MultipleLogger
    • OutputStreamLogger
  • ExapisSOP.IO.Settings
    • CustomSettings
    • DataStore
    • DefaultSettings
    • EnvironmentSettings
    • ISettingsSystemService
    • OptimizedSettings
    • SettingsSystemServiceOptions
    • SettingsSystemServiceOptions.ConfirmVersionInfo
    • SettingsSystemServiceOptions.GetVersionInfo
  • ExapisSOP.IO.Settings.CommandLine
    • CommandLineConverter
    • CommandLineParser
    • CommandLineServiceOptions
    • CommandLineServiceOptions.CreateConverterMappingTable
    • FileNameList
    • IArgumentConverter
    • IArgumentConverter<T>
    • ICommandLineService
    • ManualAttribute
    • Option
    • Option.Value
    • OptionAttribute
    • Switch
    • SwitchAttribute
  • ExapisSOP.NativeWrapper
    • INativeCaller
    • WinAPI
  • ExapisSOP.NativeWrapper.Windows
    • Kernel32
  • ExapisSOP.Numerics
    • CryptionRandom
    • IRandom
    • LinearCongruentialGenerator
    • RandomExtension
    • SerializableRandom
    • SystemRandom
    • Xorshift
    • Xorshift2
  • ExapisSOP.Text
    • SimpleEncoding
    • SimpleString
  • ExapisSOP.Utils
    • ArrayExtensions
    • ConsoleUtil
    • DisposableBase
    • IAwaitable<T>
    • IAwaiter<T>
    • IUtilityService
    • SecureStringExtensions
    • SerializationInfoExtensions
    • StringExtensions
    • StringUtil
    • UtilityConfigurationExtensions
    • UtilityContextExtensions

ConfigurationExtensions クラス

IConfigurationの機能を拡張します。 このクラスは静的です。

継承
System.Object
ConfigurationExtensions
継承されたメンバー
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
名前空間: ExapisSOP.Core
アセンブリ: ExapisSOP.dll
構文
public static class ConfigurationExtensions

メソッド 一覧

| 編集/提案 ソースを表示

AddAppWorker<TAppWorker>(IConfiguration)

AppWorkerをサービスとして実行環境に登録します。

宣言
public static IConfiguration AddAppWorker<TAppWorker>(this IConfiguration config)
    where TAppWorker : AppWorker
引数
型 名前 説明
IConfiguration config

登録先の構成設定です。

戻り値
型 説明
IConfiguration

configそのもの、または、 指定されたAppWorkerがサービスリストに追加された新しいconfigのコピーです。

型引数
名前 説明
TAppWorker

引数を必要としないコンストラクタを持つ具体的なAppWorkerの種類です。

例外
型 条件
System.MissingMemberException
System.ArgumentNullException
| 編集/提案 ソースを表示

AddCommandLine(IConfiguration)

ICommandLineServiceをサービスとして実行環境に登録します。 ISettingsSystemServiceより後に登録しなければなりません。

宣言
public static IConfiguration AddCommandLine(this IConfiguration config)
引数
型 名前 説明
IConfiguration config

登録先の構成設定です。

戻り値
型 説明
IConfiguration

configそのもの、または、 ICommandLineServiceがサービスリストに追加された新しいconfigのコピーです。

例外
型 条件
System.ArgumentNullException
| 編集/提案 ソースを表示

AddCommandLine(IConfiguration, Func<CommandLineServiceOptions, Task>)

ICommandLineServiceをサービスとして実行環境に登録します。 ISettingsSystemServiceより後に登録しなければなりません。

宣言
public static IConfiguration AddCommandLine(this IConfiguration config, Func<CommandLineServiceOptions, Task> callBackFunc)
引数
型 名前 説明
IConfiguration config

登録先の構成設定です。

System.Func<CommandLineServiceOptions, System.Threading.Tasks.Task> callBackFunc

サービスの設定を行います。

戻り値
型 説明
IConfiguration

configそのもの、または、 ICommandLineServiceがサービスリストに追加された新しいconfigのコピーです。

例外
型 条件
System.ArgumentNullException
| 編集/提案 ソースを表示

AddFileSystem(IConfiguration)

IFileSystemServiceをサービスとして実行環境に登録します。

宣言
public static IConfiguration AddFileSystem(this IConfiguration config)
引数
型 名前 説明
IConfiguration config

登録先の構成設定です。

戻り値
型 説明
IConfiguration

configそのもの、または、 IFileSystemServiceがサービスリストに追加された新しいconfigのコピーです。

例外
型 条件
System.ArgumentNullException
| 編集/提案 ソースを表示

AddFileSystem(IConfiguration, Func<FileSystemServiceOptions, Task>)

IFileSystemServiceをサービスとして実行環境に登録します。

宣言
public static IConfiguration AddFileSystem(this IConfiguration config, Func<FileSystemServiceOptions, Task> callBackFunc)
引数
型 名前 説明
IConfiguration config

登録先の構成設定です。

System.Func<FileSystemServiceOptions, System.Threading.Tasks.Task> callBackFunc

サービスの設定を行います。

戻り値
型 説明
IConfiguration

configそのもの、または、 IFileSystemServiceがサービスリストに追加された新しいconfigのコピーです。

例外
型 条件
System.ArgumentNullException
| 編集/提案 ソースを表示

AddLoggingSystem(IConfiguration)

ILoggingSystemServiceをサービスとして実行環境に登録します。 ISettingsSystemServiceより後に登録しなければなりません。 また、ICommandLineServiceを登録する場合、 このサービスはその後に登録しなければなりません。

宣言
public static IConfiguration AddLoggingSystem(this IConfiguration config)
引数
型 名前 説明
IConfiguration config

登録先の構成設定です。

戻り値
型 説明
IConfiguration

configそのもの、または、 ILoggingSystemServiceがサービスリストに追加された新しいconfigのコピーです。

例外
型 条件
System.ArgumentNullException
| 編集/提案 ソースを表示

AddLoggingSystem(IConfiguration, Func<LoggingSystemServiceOptions, Task>)

ILoggingSystemServiceをサービスとして実行環境に登録します。 ISettingsSystemServiceより後に登録しなければなりません。 また、ICommandLineServiceを登録する場合、 このサービスはその後に登録しなければなりません。

宣言
public static IConfiguration AddLoggingSystem(this IConfiguration config, Func<LoggingSystemServiceOptions, Task> callBackFunc)
引数
型 名前 説明
IConfiguration config

登録先の構成設定です。

System.Func<LoggingSystemServiceOptions, System.Threading.Tasks.Task> callBackFunc

サービスの設定を行います。

戻り値
型 説明
IConfiguration

configそのもの、または、 ILoggingSystemServiceがサービスリストに追加された新しいconfigのコピーです。

例外
型 条件
System.ArgumentNullException
| 編集/提案 ソースを表示

AddSettingsSystem(IConfiguration)

ISettingsSystemServiceをサービスとして実行環境に登録します。 IFileSystemServiceより後に登録しなければなりません。

宣言
public static IConfiguration AddSettingsSystem(this IConfiguration config)
引数
型 名前 説明
IConfiguration config

登録先の構成設定です。

戻り値
型 説明
IConfiguration

configそのもの、または、 ISettingsSystemServiceがサービスリストに追加された新しいconfigのコピーです。

例外
型 条件
System.ArgumentNullException
| 編集/提案 ソースを表示

AddSettingsSystem(IConfiguration, Func<SettingsSystemServiceOptions, Task>)

ISettingsSystemServiceをサービスとして実行環境に登録します。 IFileSystemServiceより後に登録しなければなりません。

宣言
public static IConfiguration AddSettingsSystem(this IConfiguration config, Func<SettingsSystemServiceOptions, Task> callBackFunc)
引数
型 名前 説明
IConfiguration config

登録先の構成設定です。

System.Func<SettingsSystemServiceOptions, System.Threading.Tasks.Task> callBackFunc

サービスの設定を行います。

戻り値
型 説明
IConfiguration

configそのもの、または、 ISettingsSystemServiceがサービスリストに追加された新しいconfigのコピーです。

例外
型 条件
System.ArgumentNullException
| 編集/提案 ソースを表示

AddSystemServices(IConfiguration)

全てのシステムサービスを既定の設定で実行環境に登録します。

宣言
public static IConfiguration AddSystemServices(this IConfiguration config)
引数
型 名前 説明
IConfiguration config

登録先の構成設定です。

戻り値
型 説明
IConfiguration

configそのもの、または、 下記のサービスがサービスリストに追加された新しいconfigのコピーです。

| 編集/提案 ソースを表示

AddSystemServices(IConfiguration, Func<FileSystemServiceOptions, Task>, Func<SettingsSystemServiceOptions, Task>, Func<CommandLineServiceOptions, Task>, Func<LoggingSystemServiceOptions, Task>)

全てのシステムサービスを既定の設定で実行環境に登録します。

宣言
public static IConfiguration AddSystemServices(this IConfiguration config, Func<FileSystemServiceOptions, Task> fileSystemOptions = null, Func<SettingsSystemServiceOptions, Task> settingsSystemOptions = null, Func<CommandLineServiceOptions, Task> commandLineOptions = null, Func<LoggingSystemServiceOptions, Task> loggingSystemOptions = null)
引数
型 名前 説明
IConfiguration config

登録先の構成設定です。

System.Func<FileSystemServiceOptions, System.Threading.Tasks.Task> fileSystemOptions

IFileSystemServiceの設定を行います。

System.Func<SettingsSystemServiceOptions, System.Threading.Tasks.Task> settingsSystemOptions

ISettingsSystemServiceの設定を行います。

System.Func<CommandLineServiceOptions, System.Threading.Tasks.Task> commandLineOptions

ICommandLineServiceの設定を行います。

System.Func<LoggingSystemServiceOptions, System.Threading.Tasks.Task> loggingSystemOptions

ILoggingSystemServiceの設定を行います。

戻り値
型 説明
IConfiguration

configそのもの、または、 下記のサービスがサービスリストに追加された新しいconfigのコピーです。

  • 編集/提案
  • ソースを表示
Back to top Generated by DocFX