ReplArgumentAttribute
Configures positional argument metadata for a handler parameter.
- Kind:
Class - Namespace: Repl.Parameters
- Assembly:
Repl.Core - Source: src/Repl.Core/Parameters/Attributes/ReplArgumentAttribute.cs
Signature
Section titled “Signature”[AttributeUsage(AttributeTargets.Property|AttributeTargets.Parameter, AllowMultiple = false, Inherited = true)]public sealed class ReplArgumentAttribute : AttributeInheritance
Section titled “Inheritance”Properties
Section titled “Properties”Binding mode for the parameter.
public ReplParameterMode Mode { get; set; }Returns
Section titled “Returns”Position
Section titled “Position”Optional explicit position for positional binding.
public int? Position { get; set; }Returns
Section titled “Returns”int?