Inheritance: INotifyPropertyChanged
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 3
0
 internal Attendance(Party party)
 {
     Party          = party;
     this._presence = new MultiPresence();
 }
Ejemplo n.º 4
0
 internal Attendance(Party party)
 {
     Party = party;
     this._presence = new MultiPresence();
 }
Ejemplo n.º 5
0
 public override string ToString()
 {
     return(Party.ToString());
 }