Наследование: PartyElement
Пример #1
0
 public void InitPerson(UserElement userElement)
 {
     InitParty(userElement);
     SubscriptionStatus = userElement.subscriptionStatus;
     SubscriptionType = userElement.subscriptionType;
     Guest = userElement.guest;
 }
Пример #2
0
 internal Attendance(UserElement element)
     : this(new Person(element))
 {
 }
Пример #3
0
 public Person(UserElement userElement)
 {
     InitPerson(userElement);
 }
Пример #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);
 }