상속: PartyElement
예제 #1
0
파일: Person.cs 프로젝트: gwupe/Gwupe
 public void InitPerson(UserElement userElement)
 {
     InitParty(userElement);
     SubscriptionStatus = userElement.subscriptionStatus;
     SubscriptionType = userElement.subscriptionType;
     Guest = userElement.guest;
 }
예제 #2
0
파일: Attendance.cs 프로젝트: gwupe/Gwupe
 internal Attendance(UserElement element)
     : this(new Person(element))
 {
 }
예제 #3
0
파일: Person.cs 프로젝트: gwupe/Gwupe
 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);
 }