Пример #1
0
 public Invitation Clone(Friend friend)
 {
     return new Invitation
     {
         Friend = friend,
         Id = Id,
         EventName = EventName,
         Status = InvitationStatus.NotYetSent
        
     };
 }
Пример #2
0
 protected Invitation(Friend friend)
 {
     Status = InvitationStatus.NotYetSent;
     Friend = friend;
     _timer = new Timer(0);
 }
Пример #3
0
 protected Invitation(Friend friend, int waitTime)
 {
     Status = InvitationStatus.NotYetSent;
     Friend = friend;
     _timer = new Timer(waitTime);
 }
Пример #4
0
 public Task SendMessage(Friend friend)
 {
     return null;
 }
Пример #5
0
        public Invitation Clone(Friend friend)
        {
            return new Invitation
            {
                Friend = friend,
                Id = Id,
                EventName = EventName,
                Status = InvitationStatus.NotYetSent,
                Timer = new System.Timers.Timer()

            };
        }
Пример #6
0
 protected Invitation(Friend friend, int waitTime)
 {
     Status = InvitationStatus.NotYetSent;
     Friend = friend;
     Timer.Interval = waitTime;
 }
Пример #7
0
 protected Invitation(Friend friend)
 {
     Status = InvitationStatus.NotYetSent;
     Friend = friend;
 }
Пример #8
0
 protected Invitation(Friend friend)
 {
     Status = InvitationStatus.NotYetSent;
     Friend = friend;
     _timer = new Timer(0);
 }