Class MacroStepParamHelper
Inheritance
MacroStepParamHelper
Assembly: CAMIPC.DotnetHelper.dll
Syntax
public static class MacroStepParamHelper
Methods
DefaultValue(ComWrapper<ICamIpcMacroStepParam>)
Default value recorded at macro creation time
Declaration
public static string DefaultValue(this ComWrapper<ICamIpcMacroStepParam> com)
Parameters
Returns
Key(ComWrapper<ICamIpcMacroStepParam>)
Key used as dictionary key in the params JSON passed to Execute (e.g. "value")
Declaration
public static string Key(this ComWrapper<ICamIpcMacroStepParam> com)
Parameters
Returns
LabelText(ComWrapper<ICamIpcMacroStepParam>)
Human-readable label for the parameter
Declaration
public static string LabelText(this ComWrapper<ICamIpcMacroStepParam> com)
Parameters
Returns
ParamType(ComWrapper<ICamIpcMacroStepParam>)
Type of the parameter value
Declaration
public static TMacroCommandParamType ParamType(this ComWrapper<ICamIpcMacroStepParam> com)
Parameters
Returns
Required(ComWrapper<ICamIpcMacroStepParam>)
True if the user must supply a value before the macro can run (default was JSON null/absent)
Declaration
public static bool Required(this ComWrapper<ICamIpcMacroStepParam> com)
Parameters
Returns
ValuesString(ComWrapper<ICamIpcMacroStepParam>)
Semicolon-separated list of allowed values (empty = free-form)
Declaration
public static string ValuesString(this ComWrapper<ICamIpcMacroStepParam> com)
Parameters
Returns