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

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

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

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

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

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

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

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

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

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

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