public Notification(Notification n) { Request = n.Request; Duration = n.Duration; Owner = n.Owner; Guest = n.Guest; SetTokens(); n.MessageTokens.CopyTo(MessageTokens, 0); n.SomeoneTokens.CopyTo(SomeoneTokens, 0); }
public Notification(NotifCodes.RequestCode request, NotifCodes.DurationCode duration, long owner, long guest, int[] messageTokens, string[] someoneTokens) { Request = request; Duration = duration; Owner = owner; Guest = guest; SetTokens(messageTokens, someoneTokens); Rebuild(); }