Share via


CommandLineConfigurationSource 類別

定義

將命令列引數表示為 IConfigurationSource

public ref class CommandLineConfigurationSource : Microsoft::Extensions::Configuration::IConfigurationSource
public class CommandLineConfigurationSource : Microsoft.Extensions.Configuration.IConfigurationSource
type CommandLineConfigurationSource = class
    interface IConfigurationSource
Public Class CommandLineConfigurationSource
Implements IConfigurationSource
繼承
CommandLineConfigurationSource
實作

建構函式

CommandLineConfigurationSource()

初始化 CommandLineConfigurationSource 的新執行個體。

屬性

Args

取得或設定命令列引數。

SwitchMappings

取得或設定參數對應。

方法

Build(IConfigurationBuilder)

建置此來源的 CommandLineConfigurationProvider

Equals(Object)

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

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

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

(繼承來源 Object)

適用於