ConfigureNamedOptions<TOptions,TDep1,TDep2,TDep3,TDep4,TDep5> 類別

定義

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

類型參數

TOptions

正在設定的選項類型。

TDep1

第一個相依性類型。

TDep2

第二個相依性類型。

TDep3

第三個相依性類型。

TDep4

第四個相依性類型。

TDep5

第五個相依性類型。

繼承
ConfigureNamedOptions<TOptions,TDep1,TDep2,TDep3,TDep4,TDep5>
實作

建構函式

ConfigureNamedOptions<TOptions,TDep1,TDep2,TDep3,TDep4,TDep5>(String, TDep1, TDep2, TDep3, TDep4, TDep5, Action<TOptions,TDep1,TDep2, TDep3,TDep4,TDep5>)

建構函式。

屬性

Action

組態動作。

Dependency1

第一個相依性。

Dependency2

第二個相依性。

Dependency3

第三個相依性。

Dependency4

第四個相依性。

Dependency5

第五個相依性。

Name

選項名稱。

方法

Configure(String, TOptions)

name 相符,則會叫用已註冊的設定 Action

Configure(TOptions)

叫用以使用 DefaultName 來設定 TOptions 執行個體。

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

適用於