Ejemplo n.º 1
0
 public static CreateContainerState ErrorFetchingCreateContainer(CreateContainerState state,
                                                                 ErrorFetchingCreateContainerAction action)
 {
     return(state with {
         IsLoadingCreateContainer = false,
         CreateContainerErrorMessage = action.ErrorMessage
     });
 }
Ejemplo n.º 2
0
 public static CreateContainerState ReceivedCreateContainer(CreateContainerState state)
 {
     return(state with {
         IsLoadingCreateContainer = false,
         CreateContainerErrorMessage = null,
         ShowCreateContainerForm = false
     });
 }
Ejemplo n.º 3
0
 public static CreateContainerState ShowCreateContainerForm(CreateContainerState state)
 {
     return(state with {
         ShowCreateContainerForm = true
     });
 }
Ejemplo n.º 4
0
 public static CreateContainerState FetchCreateContainer(CreateContainerState state)
 {
     return(state with {
         IsLoadingCreateContainer = true
     });
 }
Ejemplo n.º 5
0
 public static CreateContainerState HideCreateContainerForm(CreateContainerState state)
 {
     return(state with {
         ShowCreateContainerForm = false
     });
 }