C# Класс OpenHome.Net.ControlPoint.ArgumentInt

Integer type argument. Only intended for use by auto-generated proxies.
Наследование: Argument
Показать файл Открыть проект

Открытые методы

Метод Описание
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)

Приватные методы

Метод Описание
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.

Описание методов

ArgumentInt() публичный Метод

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
Результат System

ArgumentInt() публичный Метод

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
Результат System