Beispiel #1
0
 public static SessionState ReduceIncrementCounterAction4(SessionState state, LoggedOutSessionAction action) => new SessionState(false, null);
Beispiel #2
0
 public static SessionState ReduceIncrementCounterAction2(SessionState state, LoggedInViaTokenAction action) => new SessionState(true, null);
Beispiel #3
0
 public static SessionState ReduceIncrementCounterAction3(SessionState state, RemoveActiveAvatarAction action) => new SessionState(true, null);
Beispiel #4
0
 public static SessionState ReduceIncrementCounterAction(SessionState state, ChangeActiveAvatarAction action) => new SessionState(action.IsLoggedIn, action.Avatar);