public void ReceiveData(long messageId, string toGroupName, string toStitchInstanceId, string channelName, string data) { DataMessageReceived.Raise(this, new DataMessageReceivedEventArgs { MessageId = messageId, ToGroupName = toGroupName, ToStitchInstanceId = toStitchInstanceId, FromStitchInstanceId = StitchInstanceId, ChannelName = channelName, Data = data }); }
private void OnDataMessageReceived(object sender, DataMessageReceivedEventArgs e) { DataMessageReceived.Raise(this, e); }