Table of Contents

Class CommandLineConfigurationSource

Namespace
Acuit.Pinpoint.Configuration.CommandLine
Assembly
Acuit.Pinpoint.Configuration.dll

Represents command line arguments as an IConfigurationSource.

public class CommandLineConfigurationSource : IConfigurationSource
Inheritance
CommandLineConfigurationSource
Implements
Inherited Members

Properties

Args

Gets or sets the command line args.

public IEnumerable<string> Args { get; set; }

Property Value

IEnumerable<string>

SwitchMappings

Gets or sets the switch mappings.

public IDictionary<string, string> SwitchMappings { get; set; }

Property Value

IDictionary<string, string>

Methods

Build(IConfigurationBuilder)

Builds the CommandLineConfigurationProvider for this source.

public IConfigurationProvider Build(IConfigurationBuilder builder)

Parameters

builder IConfigurationBuilder

The IConfigurationBuilder.

Returns

IConfigurationProvider

A CommandLineConfigurationProvider