• 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

IContext インターフェース

実行中の処理に文脈情報を提供します。

名前空間: ExapisSOP
アセンブリ: ExapisSOP.dll
構文
public interface IContext

プロパティ 一覧

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

Arguments

解析済みのコマンド行引数を取得します。 ICommandLineServiceが初期化されていない場合はnullを返します。

宣言
Switch[] Arguments { get; }
プロパティ値
型 説明
Switch[]
| 編集/提案 ソースを表示

LogFile

既定のログファイルを取得します。 ILoggingSystemServiceが初期化されていない場合はnullを返します。

宣言
ILogFile LogFile { get; }
プロパティ値
型 説明
ILogFile
| 編集/提案 ソースを表示

Paths

データディレクトリへのパスを格納したオブジェクトを取得します。 IFileSystemServiceが初期化されていない場合はnullを返します。

宣言
IPathList Paths { get; }
プロパティ値
型 説明
IPathList
| 編集/提案 ソースを表示

Settings

環境設定を取得します。 ISettingsSystemServiceが初期化されていない場合はnullを返します。

宣言
EnvironmentSettings Settings { get; }
プロパティ値
型 説明
EnvironmentSettings

メソッド 一覧

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

GetHostRunner()

現在実行中の実行環境を取得します。

宣言
HostRunner GetHostRunner()
戻り値
型 説明
HostRunner

実行環境を表すオブジェクトです。

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

GetMessage()

現在の文脈情報に設定されているメッセージを取得します。

宣言
object GetMessage()
戻り値
型 説明
System.Object

メッセージを表すオブジェクトです。

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

GetService<T>()

指定されたサービスを取得します。

宣言
T GetService<T>()
    where T : class, IService
戻り値
型 説明
T

サービスが存在する場合はサービスオブジェクトを返し、存在しない場合はnullを返します。

型引数
名前 説明
T

サービスの種類です。

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

SetMessage(Object)

指定されたオブジェクトをメッセージとして現在の文脈情報に設定します。

宣言
void SetMessage(object data)
引数
型 名前 説明
System.Object data

メッセージを表すオブジェクトです。

拡張関数 一覧

UtilityContextExtensions.GetUtility(IContext)
ContextExtensions.GetPaths(IContext)
ContextExtensions.IsFirstBoot(IContext)
ContextExtensions.IsMultipleBoot(IContext)
ContextExtensions.HasNoCompatible(IContext)
ContextExtensions.GetInitialContext(IContext)
ContextExtensions.GetPreviousContext(IContext)
ContextExtensions.GetData(IContext, String)
ContextExtensions.SetData(IContext, String, Object)
ContextExtensions.GetFileSystem(IContext)
ContextExtensions.GetSettingsSystem(IContext)
ContextExtensions.GetCommandLine(IContext)
ContextExtensions.GetLoggingSystem(IContext)
  • 編集/提案
  • ソースを表示
Back to top Generated by DocFX