Esempio n. 1
0
 public CreatePartyPage(InUserSingleton userSingleton)
 {
     _userSingleton = userSingleton;
     user           = userSingleton.getUser();
     parties        = userSingleton.getParties();
     activeParty    = userSingleton.getActiveParty();
 }
 public EditPartyPage(InUserSingleton userSingleton)
 {
     _userSingleton = userSingleton;
     user           = userSingleton.getUser();
     parties        = userSingleton.getParties();
     activeParty    = userSingleton.getActiveParty();
     // _userSingleton.setActiveParties(activeParty);
 }
 public HomePage(InUserSingleton userSingleton)
 {
     _userSingleton = userSingleton;
     user           = userSingleton.getUser();
     parties        = userSingleton.getParties();
     if (userSingleton.getActiveParty() != null)
     {
         activeParty = userSingleton.getActiveParty().copy();
     }
 }
        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();
            }
        }
Esempio n. 5
0
 public IndexModel(ILogger <IndexModel> logger, InUserSingleton userSingleton)
 {
     _logger        = logger;
     _userSingleton = userSingleton;
 }
 public RegisterPage(InUserSingleton userSingleton)
 {
     _userSingleton = userSingleton;
 }