Inheritance: INotifyPropertyChanged
Example #1
0
 public void AddAdHocPerson(Party party, String shortCode)
 {
     var attendance = new Attendance(party);
     var presence = Presence.AlwaysOn;
     presence.Resource = "_blitsme-" + shortCode;
     presence.ShortCode = shortCode;
     attendance.PropertyChanged += MarkUnmarkCurrentlyEngaged;
     attendance.SetPresence(presence);
     ServicePartyAttendanceList.Add(attendance);
     ServicePartyAttendanceLookup[attendance.Party.Username] = attendance;
 }
Example #2
0
 private void AddPartyToList(Party party, Presence presence)
 {
     var attendance = new Attendance(party);
     attendance.PropertyChanged += MarkUnmarkCurrentlyEngaged;
     if (presence != null)
     {
         attendance.SetPresence(presence);
     }
     ServicePartyAttendanceList.Add(attendance);
     ServicePartyAttendanceLookup[attendance.Party.Username] = attendance;
 }
Example #3
0
 internal Attendance(Party party)
 {
     Party          = party;
     this._presence = new MultiPresence();
 }
Example #4
0
 internal Attendance(Party party)
 {
     Party = party;
     this._presence = new MultiPresence();
 }
Example #5
0
 public override string ToString()
 {
     return(Party.ToString());
 }