private void A1_ContentReceived(object sender, InputMethodContext.ContentReceivedEventArgs e) { string s1 = e.Content; e.Content = s1; string s2 = e.Description; e.Description = s2; string s3 = e.MimeType; e.MimeType = s3; }
public void InputMethodContextContentReceived() { tlog.Debug(tag, $"InputMethodContextContentReceived START"); InputMethodContext a1 = new InputMethodContext(); a1.ContentReceived += A1_ContentReceived; a1.ContentReceived -= A1_ContentReceived; object o1 = new object(); InputMethodContext.ContentReceivedEventArgs e = new InputMethodContext.ContentReceivedEventArgs(); A1_ContentReceived(o1, e); a1.Dispose(); tlog.Debug(tag, $"InputMethodContextContentReceived END (OK)"); Assert.Pass("InputMethodContextContentReceived"); }