FieldDescription
Class
Definition
Provides a description of a field for use by Prompt(String, String, Collection<FieldDescription>).
public class FieldDescription
- Inheritance
-
FieldDescription
Remarks
It is permitted to subclass FieldDescription but there is no established scenario for doing this, nor has it been tested.
Constructors
| FieldDescription(String) |
Initializes a new instance of FieldDescription and defines the Name value. |
Properties
| Attributes |
Gets the Attribute classes that apply to the field. In the case that |
| DefaultValue |
Gets and sets the default value, if any, for the implementation of |
| HelpMessage |
Gets and sets the help message for this field. |
| IsMandatory |
Gets and sets whether a value must be supplied for this field |
| Label |
A short, human-presentable message to describe and identify the field. If supplied, a typical implementation of
|
| Name |
Gets the name of the field. |
| ParameterAssemblyFullName |
Gets the full name of the assembly containing the type identified by ParameterTypeFullName or ParameterTypeName |
| ParameterTypeFullName |
Gets the full string name of the parameter's type. |
| ParameterTypeName |
Gets the short name of the parameter's type. |
Methods
| SetParameterType(Type) |
Sets the ParameterTypeName, ParameterTypeFullName, and ParameterAssemblyFullName as a single operation. |