public static RegistrationStateService GetRegistrationStateService()
        {
            if (registrationStateService == null)
            {
                registrationStateService = new RegistrationStateService();
            }

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