Inheritance: PartyElement
Beispiel #1
0
 public void InitPerson(UserElement userElement)
 {
     InitParty(userElement);
     SubscriptionStatus = userElement.subscriptionStatus;
     SubscriptionType = userElement.subscriptionType;
     Guest = userElement.guest;
 }
Beispiel #2
0
 internal Attendance(UserElement element)
     : this(new Person(element))
 {
 }
Beispiel #3
0
 public Person(UserElement userElement)
 {
     InitPerson(userElement);
 }
Beispiel #4
0
 internal void SetUser(UserElement userElement, String shortCode)
 {
     CurrentUser = new Person(userElement);
     ActiveShortCode = shortCode;
     if(CurrentUserPresence == null)
     {
         CurrentUserPresence = new Presence();
     }
     CurrentUserPresence.SetIdleState(_appContext.IdleState);
     UpdatePresence(true);
     OnCurrentUserChanged(EventArgs.Empty);
 }