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.
public ReplCaseSensitivity? CaseSensitivity { get; set; }Returns
Section titled “Returns”ReplCaseSensitivity?
Alias token, including prefix.
public string Token { get; }Returns
Section titled “Returns”Injected option value.
public string Value { get; }