C# Class OpenHome.Net.ControlPoint.ArgumentInt

Integer type argument. Only intended for use by auto-generated proxies.
Inheritance: Argument
Mostrar archivo Open project: openhome/ohNet

Public Methods

Method Description
ArgumentInt ( ParameterInt aParameter ) : System

Constructor for integer output argument for an action

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)

ArgumentInt ( ParameterInt aParameter, int aValue ) : System

Constructor for integer input argument for an action

Intended to be write only (its value is written on construction and not be later read)

Private Methods

Method Description
ActionArgumentCreateIntInput ( IntPtr aParameter, int aValue ) : IntPtr
ActionArgumentCreateIntOutput ( IntPtr aParameter ) : IntPtr
ActionArgumentValueInt ( IntPtr aHandle ) : int
Value ( ) : int

Read the value of an integer argument.

Only intended for use with output arguments inside the invocation completed callback.

Method Details

ArgumentInt() public method

Constructor for integer output argument for an action
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)
public ArgumentInt ( ParameterInt aParameter ) : System
aParameter OpenHome.Net.Core.ParameterInt Defines the name plus any bounds to the value for the argument. /// Must have been previously added to the action using Action.AddOutputParameter
return System

ArgumentInt() public method

Constructor for integer input argument for an action
Intended to be write only (its value is written on construction and not be later read)
public ArgumentInt ( ParameterInt aParameter, int aValue ) : System
aParameter OpenHome.Net.Core.ParameterInt Defines the name plus any bounds to the value for the argument. /// Must have been previously added to the action using Action.AddInputParameter
aValue int Value for the argument
return System