Table of Contents

Class ParamDefinitionAttributeBase

Namespace
Invex.Atom.Build.Params
Assembly
Invex.Atom.Build.dll
[AttributeUsage(AttributeTargets.Property)]
public abstract class ParamDefinitionAttributeBase : Attribute
Inheritance
object
Attribute
ParamDefinitionAttributeBase
Derived

Remarks

This type cannot be derived from outside Atom: the source generator recognises only the two sealed attributes, so a custom subclass would silently define no parameter.

Properties

ArgName

Gets the name of the parameter on the command line.

public string ArgName { get; }

Property Value

string

ChainedParams

Gets the other parameters that this parameter depends on.

public IReadOnlyList<string> ChainedParams { get; }

Property Value

IReadOnlyList<string>

Description

Gets the description of the parameter.

public string Description { get; }

Property Value

string

IsSecret

Gets a value indicating whether the parameter is a secret.

public bool IsSecret { get; }

Property Value

bool

Sources

Gets the sources from which the parameter can be resolved.

public ParamSource Sources { get; }

Property Value

ParamSource