コード例 #1
0
 public HomePage(InUserSingleton userSingleton)
 {
     _userSingleton = userSingleton;
     user           = userSingleton.getUser();
     parties        = userSingleton.getParties();
     if (userSingleton.getActiveParty() != null)
     {
         activeParty = userSingleton.getActiveParty().copy();
     }
 }
コード例 #2
0
        public UserPage(InUserSingleton userSingleton)
        {
            _userSingleton = userSingleton;
            user           = userSingleton.getUser();
            parties        = userSingleton.getParties();
            if (userSingleton.getActiveParty() != null)
            {
                activeParty = userSingleton.getActiveParty().copy();
            }

            if (_userSingleton.getSearchResult() != null)
            {
                SearchedPeople = _userSingleton.getSearchResult();
            }
        }
コード例 #3
0
 public CreatePartyPage(InUserSingleton userSingleton)
 {
     _userSingleton = userSingleton;
     user           = userSingleton.getUser();
     parties        = userSingleton.getParties();
     activeParty    = userSingleton.getActiveParty();
 }
コード例 #4
0
 public EditPartyPage(InUserSingleton userSingleton)
 {
     _userSingleton = userSingleton;
     user           = userSingleton.getUser();
     parties        = userSingleton.getParties();
     activeParty    = userSingleton.getActiveParty();
     // _userSingleton.setActiveParties(activeParty);
 }