C# Class OpenHome.Net.ControlPoint.ArgumentBool

Boolean type argument. Only intended for use by auto-generated proxies.
Inheritance: Argument
Mostra file Open project: openhome/ohNet

Public Methods

Method Description
ArgumentBool ( ParameterBool aParameter ) : System

Constructor for boolean 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)

ArgumentBool ( ParameterBool aParameter, bool aValue ) : System

Constructor for boolean 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
ActionArgumentCreateBoolInput ( IntPtr aParameter, uint aValue ) : IntPtr
ActionArgumentCreateBoolOutput ( IntPtr aParameter ) : IntPtr
ActionArgumentValueBool ( IntPtr aHandle ) : uint
Value ( ) : bool

Read the value of a boolean argument.

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

Method Details

ArgumentBool() public method

Constructor for boolean 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 ArgumentBool ( ParameterBool aParameter ) : System
aParameter OpenHome.Net.Core.ParameterBool Defines the name for the argument. /// Must have been previously added to the action using Action.AddOutputParameter
return System

ArgumentBool() public method

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