C# Class OpenHome.Net.Core.PropertyBool

Boolean type property. Only intended for use by auto-generated proxies and providers.
Inheritance: Property
Afficher le fichier Open project: openhome/ohNet Class Usage Examples

Méthodes publiques

Méthode Description
PropertyBool ( ParameterBool aParameter, bool aOwnsNativeProperty = false ) : System

Constructor suitable for use by clients of the device stack

PropertyBool ( String aName, System aValueChanged ) : System

Constructor suitable for use by clients of the control point stack

SetValue ( bool aValue ) : bool

Set the value of the property

Value ( ) : bool

Query the value of the property

Private Methods

Méthode Description
ServicePropertyCreateBoolCp ( IntPtr aName, Callback aCallback, IntPtr aPtr ) : IntPtr
ServicePropertyCreateBoolDv ( IntPtr aParameterHandle ) : IntPtr
ServicePropertySetValueBool ( IntPtr aHandle, uint aValue ) : uint
ServicePropertyValueBool ( IntPtr aHandle, uint &aValue ) : int

Method Details

PropertyBool() public méthode

Constructor suitable for use by clients of the device stack
public PropertyBool ( ParameterBool aParameter, bool aOwnsNativeProperty = false ) : System
aParameter ParameterBool Parameter defining the name for the property.
aOwnsNativeProperty bool Whether the managed property owns the underlying native property.
Résultat System

PropertyBool() public méthode

Constructor suitable for use by clients of the control point stack
public PropertyBool ( String aName, System aValueChanged ) : System
aName String Property name
aValueChanged System Action to run when the property's value changes
Résultat System

SetValue() public méthode

Set the value of the property
public SetValue ( bool aValue ) : bool
aValue bool New value for the property
Résultat bool

Value() public méthode

Query the value of the property
public Value ( ) : bool
Résultat bool