예제 #1
0
 /// <inheritDoc/>
 public void ResetCurrentUserData()
 {
     if (logger.IsDebugEnabled) logger.Debug("Resetting " + currentUserData);
     currentUserData = new CurrentUserData();
 }
예제 #2
0
 /// <inheritDoc/>
 public void SetCurrentUserData(CurrentUserData currentUserData)
 {
     if (logger.IsDebugEnabled) logger.Debug("Setting " + currentUserData);
     CurrentUserSvc.currentUserData = currentUserData;
 }
예제 #3
0
 /// <inheritDoc/>
 public CurrentUserData GetCurrentUserData()
 {
     CurrentUserData result = currentUserData ?? (currentUserData = new CurrentUserData());
     if (logger.IsDebugEnabled) logger.Debug("Returning " + result);
     return result;
 }