예제 #1
0
 internal UserSession(User loggingUser)
 {
     _sessionObject = SessionObjectFactory.GetSessionObject(loggingUser);
 }
예제 #2
0
        public static UserSession Login(string username, string password)
        {
            var sessionObject = SessionObjectFactory.GetSessionObject(username, password);

            return(new UserSession(sessionObject));
        }
예제 #3
0
 public UserSession()
 {
     _sessionObject = SessionObjectFactory.GetSessionObject();
 }