ConfigureNamedOptions<TOptions,TDep1,TDep2> クラス

定義

generic <typename TOptions, typename TDep1, typename TDep2>
 where TOptions : class where TDep1 : class where TDep2 : classpublic ref class ConfigureNamedOptions : Microsoft::Extensions::Options::IConfigureNamedOptions<TOptions>, Microsoft::Extensions::Options::IConfigureOptions<TOptions>
public class ConfigureNamedOptions<TOptions,TDep1,TDep2> : Microsoft.Extensions.Options.IConfigureNamedOptions<TOptions>, Microsoft.Extensions.Options.IConfigureOptions<TOptions> where TOptions : class where TDep1 : class where TDep2 : class
type ConfigureNamedOptions<'Options, 'TDep1, 'TDep2 (requires 'Options : null and 'TDep1 : null and 'TDep2 : null)> = class
    interface IConfigureNamedOptions<'Options (requires 'Options : null)>
    interface IConfigureOptions<'Options (requires 'Options : null)>
Public Class ConfigureNamedOptions(Of TOptions, TDep1, TDep2)
Implements IConfigureNamedOptions(Of TOptions), IConfigureOptions(Of TOptions)

型パラメーター

TOptions

構成されているオプションの種類。

TDep1

最初の依存関係の種類。

TDep2

2 番目の依存関係の種類。

継承
ConfigureNamedOptions<TOptions,TDep1,TDep2>
実装

コンストラクター

名前 説明
ConfigureNamedOptions<TOptions,TDep1,TDep2>(String, TDep1, TDep2, Action<TOptions,TDep1,TDep2>)

ConfigureNamedOptions<TOptions,TDep1,TDep2>の新しいインスタンスを初期化します。

プロパティ

名前 説明
Action

構成アクションを取得します。

Dependency1

最初の依存関係を取得します。

Dependency2

2 番目の依存関係を取得します。

Name

オプション名を取得します。

メソッド

名前 説明
Configure(String, TOptions)

Actionが一致する場合は、登録済みの構成nameを呼び出します。

Configure(TOptions)

TOptionsを使用してDefaultName インスタンスを構成します。

Equals(Object)

指定したオブジェクトが現在のオブジェクトと等しいかどうかを判断します。

(継承元 Object)
GetHashCode()

既定のハッシュ関数として機能します。

(継承元 Object)
GetType()

現在のインスタンスの Type を取得します。

(継承元 Object)
MemberwiseClone()

現在の Objectの簡易コピーを作成します。

(継承元 Object)
ToString()

現在のオブジェクトを表す文字列を返します。

(継承元 Object)

適用対象