protected override void RaiseOnErrored(Exception ex, params object[] args) { if (args != null && args[0] != null) { UserToken u = (UserToken)args[0]; } OnErrored?.Invoke(ex, args); }
private void error(object sender, ErrorEventArgs e) { Interaction.QueueOnMainThread((p1, p2) => { if (OnErrored != null) { OnErrored.Emit(p1, (ErrorEventArgs)p2); } }, sender, e); }
protected virtual void RaiseOnErrored(Exception ex, params object[] args) { OnErrored?.BeginInvoke(ex, args, null, null); }