public Destination(DaysOfWeek validDays, Time fromTime, Time toTime, Recipient recipient, uint processIdentifier, bool issueConfirmedNotifications, EventTransitionBits transitions) { this.ValidDays = validDays; this.FromTime = fromTime; this.ToTime = toTime; this.Recipient = recipient; this.ProcessIdentifier = processIdentifier; this.IssueConfirmedNotifications = issueConfirmedNotifications; this.Transitions = transitions; }
public static void Save(IValueSink sink, Recipient value) { sink.EnterChoice((byte)value.Tag); switch(value.Tag) { case Tags.Device: Value<DeviceWrapper>.Save(sink, (DeviceWrapper)value); break; case Tags.Address: Value<AddressWrapper>.Save(sink, (AddressWrapper)value); break; default: throw new Exception(); } sink.LeaveChoice(); }
public RecipientProcess(Recipient recipient, uint processIdentifier) { this.Recipient = recipient; this.ProcessIdentifier = processIdentifier; }