public StatusEventArgs(S22.Xmpp.Jid jid, S22.Xmpp.Im.Status status) { jid.ThrowIfNull <S22.Xmpp.Jid>("jid"); status.ThrowIfNull <S22.Xmpp.Im.Status>("status"); this.Jid = jid; this.Status = status; }
public void SetStatus(S22.Xmpp.Im.Status status) { this.AssertValid(true); status.ThrowIfNull <S22.Xmpp.Im.Status>("status"); this.SetStatus(status.Availability, status.Messages, status.Priority); }