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