The VarInfo data-type is used to make available information about each public variable / parameter in components. By defining an attribute as a VarInfo type, the attributes description, Name, MaxValue, MinValue, DefaultValue, CurrentValue, Units, and URL become available as set / get methods.
Properties of the VarInfo type
|
Copy Code
|
/// <summary>Variable name </summary> string Name { get; set; } /// <summary>Variable description </summary> string Description { get; set; } /// <summary>Maximum value allowed</summary> double MaxValue { get; set; } /// <summary>Minimum value allowed</summary> double MinValue { get; set; } /// <summary>Default value</summary> double DefaultValue { get; set; } /// <summary>Current value</summary> object CurrentValue { get; set; } /// <summary>Units, not used for pre and post-conditions tests </summary> string Units { get; set; } /// <summary>Variable description URL</summary> string URL { get; set; }
|
Created with the Personal Edition of HelpNDoc: Generate EPub eBooks with ease