Inheritance: PartyElement
Exemple #1
0
 public void InitPerson(UserElement userElement)
 {
     InitParty(userElement);
     SubscriptionStatus = userElement.subscriptionStatus;
     SubscriptionType = userElement.subscriptionType;
     Guest = userElement.guest;
 }
Exemple #2
0
 internal Attendance(UserElement element)
     : this(new Person(element))
 {
 }
Exemple #3
0
 public Person(UserElement userElement)
 {
     InitPerson(userElement);
 }
Exemple #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);
 }