/// <summary> /// Constructor for integer output argument for an action /// </summary> /// <remarks>Intended to be created without any value. The value is later set after /// CpService.InvokeAction is called but before the invocation's callback is run)</remarks> /// <param name="aParameter">Defines the name plus any bounds to the value for the argument. /// Must have been previously added to the action using Action.AddOutputParameter</param> public ArgumentInt(ParameterInt aParameter) { iHandle = ActionArgumentCreateIntOutput(aParameter.Handle()); }
/// <summary> /// Constructor for integer input argument for an action /// </summary> /// <remarks>Intended to be write only (its value is written on construction and not be later read)</remarks> /// <param name="aParameter">Defines the name plus any bounds to the value for the argument. /// Must have been previously added to the action using Action.AddInputParameter</param> /// <param name="aValue">Value for the argument</param> public ArgumentInt(ParameterInt aParameter, int aValue) { iHandle = ActionArgumentCreateIntInput(aParameter.Handle(), aValue); }