Show / Hide Table of Contents

# Delegate Delegates.BoolValue

Delegate definition for a callback with a boolean argument

###### Namespace: NixUniversalSDK.Wrapper

###### Assembly: NixUniversalSDK.Wrapper.dll

##### Syntax

    public delegate void Delegates.BoolValue(string senderName, bool boolValue)

##### Parameters

Type | Name | Description
--- | --- | ---
string | senderName | Name of the event that invoked this callback
bool | boolValue | Boolean value for this event

##### Examples

The equivalent C function pointer for this delegate is:

    void (*callback)(const char*, bool)

### Constructors

#### BoolValue(object, nint)

##### Declaration

    public BoolValue(object @object, nint method)

##### Parameters

Type | Name | Description
--- | --- | ---
object | object |
nint | method |

### Methods

#### BeginInvoke(string, bool, AsyncCallback, object)

##### Declaration

    public virtual IAsyncResult BeginInvoke(string senderName, bool boolValue, AsyncCallback callback, object @object)

##### Parameters

Type | Name | Description
--- | --- | ---
string | senderName |
bool | boolValue |
AsyncCallback | callback |
object | object |

##### Returns

Type | Description
--- | ---
IAsyncResult |

#### EndInvoke(IAsyncResult)

##### Declaration

    public virtual void EndInvoke(IAsyncResult result)

##### Parameters

Type | Name | Description
--- | --- | ---
IAsyncResult | result |

#### Invoke(string, bool)

##### Declaration

    public virtual void Invoke(string senderName, bool boolValue)

##### Parameters

Type | Name | Description
--- | --- | ---
string | senderName |
bool | boolValue |