Κοινή χρήση μέσω


CommandLineConfigurationSource Class

Definition

Represents command-line arguments as an 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
Inheritance
CommandLineConfigurationSource
Implements

Constructors

CommandLineConfigurationSource()

Initializes a new instance of CommandLineConfigurationSource.

Properties

Args

Gets or sets the command line arguments.

SwitchMappings

Gets or sets the switch mappings.

Methods

Build(IConfigurationBuilder)

Builds the CommandLineConfigurationProvider for this source.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to