Ejemplo n.º 1
0
        public static SessionStateService GetSessionStateService()
        {
            if (sessionStateService == null)
            {
                sessionStateService = new SessionStateService();
            }

            return(sessionStateService);
        }
Ejemplo n.º 2
0
 public static StateContainer GetStateContainer()
 {
     if (stateContainer == null)
     {
         stateContainer = new StateContainer();
         stateContainer.registrationStateService = RegistrationStateService.GetRegistrationStateService();
         stateContainer.sessionStateService      = SessionStateService.GetSessionStateService();
     }
     return(stateContainer);
 }