Exemplo n.º 1
0
 public static RightSidebarState ReduceRightSidebarExistsAction(RightSidebarState state, RightSidebarExistsAction action) =>
 new RightSidebarState(action.Exists, state.IsDisplay);
Exemplo n.º 2
0
 public static RightSidebarState ReduceToggleRightSidebarAction(RightSidebarState state, ToggleRightSidebarAction action) =>
 new RightSidebarState(state.Exists, !state.IsDisplay);