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