ReplValueAliasAttribute
Maps an alias token to an injected option value for a parameter.
- Kind:
Class - Namespace: Repl.Parameters
- Assembly:
Repl.Core - Source: src/Repl.Core/Parameters/Attributes/ReplValueAliasAttribute.cs
Signature
Section titled “Signature”[AttributeUsage(AttributeTargets.Property|AttributeTargets.Parameter, AllowMultiple = true, Inherited = true)]public sealed class ReplValueAliasAttribute : AttributeInheritance
Section titled “Inheritance”Constructors
Section titled “Constructors”ReplValueAliasAttribute(string, string)
Section titled “ReplValueAliasAttribute(string, string)”Initializes a new instance of the ReplValueAliasAttribute class.
public ReplValueAliasAttribute(string token, string value)Parameters
Section titled “Parameters”Properties
Section titled “Properties”CaseSensitivity
Section titled “CaseSensitivity”Optional case-sensitivity override for this alias. Only an explicit assignment overrides the global parsing default; when unset, the getter returns the enum default and does not reflect the effective behavior — read CaseSensitivityOverride to distinguish unset from an explicit value.
public ReplCaseSensitivity CaseSensitivity { get; set; }Returns
Section titled “Returns”CaseSensitivityOverride
Section titled “CaseSensitivityOverride”Explicit case-sensitivity override, or null to inherit the global default.
public ReplCaseSensitivity? CaseSensitivityOverride { get; }Returns
Section titled “Returns”ReplCaseSensitivity?
Alias token, including prefix.
public string Token { get; }Returns
Section titled “Returns”Injected option value.
public string Value { get; }