示例#1
0
 public static State.CreateWorkflowState OnDisableCreateButton(State.CreateWorkflowState state, Actions.DisableCreateButton action)
 {
     return(state with
     {
         CreateDisabled = true
     });
 }
示例#2
0
 public static State.CreateWorkflowState OnToggleEditorVisibility(State.CreateWorkflowState state, Actions.ToggleVisualEditor action)
 {
     return(state with
     {
         ShowVisualEditor = !state.ShowVisualEditor
     });
 }