Table of Contents

Method IsMatch

Namespace
Bonsai.Harp
Assembly
Bonsai.Harp.dll

IsMatch(int)

Indicates whether the Harp message matches the specified address.

public bool IsMatch(int address)

Parameters

address int

The address to test for a match.

Returns

bool

true if this Harp message matches the specified address; otherwise, false.

IsMatch(int, MessageType)

Indicates whether the Harp message matches the specified address and message type.

public bool IsMatch(int address, MessageType messageType)

Parameters

address int

The address to test for a match.

messageType MessageType

The message type to test for a match.

Returns

bool

true if this Harp message matches the specified address and message type; otherwise, false.

IsMatch(int, PayloadType)

Indicates whether the Harp message matches the specified address and payload type.

public bool IsMatch(int address, PayloadType payloadType)

Parameters

address int

The address to test for a match.

payloadType PayloadType

The payload type to test for a match.

Returns

bool

true if this Harp message matches the specified address and payload type; otherwise, false.

IsMatch(int, MessageType, PayloadType)

Indicates whether the Harp message matches the specified address, message type, and payload type.

public bool IsMatch(int address, MessageType messageType, PayloadType payloadType)

Parameters

address int

The address to test for a match.

messageType MessageType

The message type to test for a match.

payloadType PayloadType

The payload type to test for a match.

Returns

bool

true if this Harp message matches the specified address, message type, and payload type; otherwise, false.