BindingContext クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
コマンド ライン パーサーの結果、挿入されたサービス、およびその他の値ソースに基づいてオブジェクト インスタンスを作成します。
public ref class BindingContext sealed : IServiceProvider
public ref class BindingContext sealed
public sealed class BindingContext : IServiceProvider
public sealed class BindingContext
type BindingContext = class
interface IServiceProvider
type BindingContext = class
Public NotInheritable Class BindingContext
Implements IServiceProvider
Public NotInheritable Class BindingContext
- 継承
-
BindingContext
- 実装
コンストラクター
| Name | 説明 |
|---|---|
| BindingContext(ParseResult, IConsole) |
コマンド ライン パーサーの結果、挿入されたサービス、およびその他の値ソースに基づいてオブジェクト インスタンスを作成します。 |
プロパティ
| Name | 説明 |
|---|---|
| Console |
コマンド ライン パーサーの結果、挿入されたサービス、およびその他の値ソースに基づいてオブジェクト インスタンスを作成します。 |
| ParseResult |
現在の呼び出しの解析結果。 |
メソッド
| Name | 説明 |
|---|---|
| AddService(Type, Func<IServiceProvider,Object>) |
指定したサービス ファクトリをバインド コンテキストに追加します。 |
| AddService(Type, Func<Object>) |
コマンド ライン パーサーの結果、挿入されたサービス、およびその他の値ソースに基づいてオブジェクト インスタンスを作成します。 |
| AddService<T>(Func<IServiceProvider,T>) |
指定したサービス ファクトリをバインド コンテキストに追加します。 |
| GetService(Type) |
指定した型のサービス オブジェクトを取得します。 |