private void OnSDGWinkReceived(MultiMimeMessage multiMimeMessage, Contact sender, Contact originalSender, RoutingInfo routingInfo) { Wink wink = new Wink(); wink.SetContext((multiMimeMessage.InnerMessage as TextPayloadMessage).Text); OnWinkDefinitionReceived(new WinkEventArgs(originalSender, wink, routingInfo)); }
public WinkEventArgs(Contact contact, Wink wink, RoutingInfo routingInfo) : base(contact, null, routingInfo) { this.wink = wink; }