Class ActionParameter
- Namespace
- SharpConsoleUI.Plugins
- Assembly
- SharpConsoleUI.dll
Describes a parameter for an action.
public record ActionParameter : IEquatable<ActionParameter>
- Inheritance
-
ActionParameter
- Implements
- Inherited Members
Constructors
ActionParameter(string, Type, bool, object?, string?)
Describes a parameter for an action.
public ActionParameter(string Name, Type Type, bool Required, object? DefaultValue = null, string? Description = null)
Parameters
Properties
DefaultValue
public object? DefaultValue { get; init; }
Property Value
Description
public string? Description { get; init; }
Property Value
Name
public string Name { get; init; }
Property Value
Required
public bool Required { get; init; }
Property Value
Type
public Type Type { get; init; }