PeanutButter
Loading...
Searching...
No Matches
PeanutButter.EasyArgs.Attributes.AllowDefaultFromEnvironment Class Reference

Sets the default value for a parsed argument. More...

Inheritance diagram for PeanutButter.EasyArgs.Attributes.AllowDefaultFromEnvironment:

Public Member Functions

 AllowDefaultFromEnvironment ()
 Allows overriding the default value for a property or class from environment variables.
 AllowDefaultFromEnvironment (string environmentVariable)
 Allows overriding the default value for a property by specifying the.

Properties

string EnvironmentVariable [get]
 When set, this is the environment variable to observe for a default value.

Detailed Description

Sets the default value for a parsed argument.

Constructor & Destructor Documentation

◆ AllowDefaultFromEnvironment()

PeanutButter.EasyArgs.Attributes.AllowDefaultFromEnvironment.AllowDefaultFromEnvironment ( string environmentVariable)

Allows overriding the default value for a property by specifying the.

Parameters
environmentVariable

The documentation for this class was generated from the following file:
  • source/Utils/PeanutButter.EasyArgs/Attributes/AllowDefaultFromEnvironment.cs