Cómo pasar un argumento al controller de events en Xamarin IOS

¿Cómo pasar un argumento de cadena a EventHandler?

ViewController (A) Handler de events escritos

public event EventHandler ValueChanged; void ResponseCompleted(object sender, CommonCode.ResponseEventArgs e){ this.InvokeOnMainThread (delegate { if (ValueChanged != null) { ValueChanged (this, new EventArgs (e.ResponseData)); // e.ResponseData is an String datatype. } }); } 

ViewController (B)

 relatedDataSource.ValueChanged += delegate { Get Response Data from ViewControllerA } 

Puede usar EventHandler genérico. Por ejemplo:

 public event EventHandler<string> ValueChanged; void ResponseCompleted(object sender, CommonCode.ResponseEventArgs e){ this.InvokeOnMainThread (delegate { var handler = ValueChanged; if (handler != null) handler(this, e.ResponseData); }); } relatedDataSource.ValueChanged += (s, responseData) => { //Your data is in responseData variable }