Esempio n. 1
0
 public static ApplicationState Reduce(ApplicationState state, FetchDomainObjectsCompleteAction action)
 {
     return(new ApplicationState(action.DomainObjects, state.SelectedDomainObjectId));
 }
Esempio n. 2
0
 public static ApplicationState Reduce(ApplicationState currentState, SelectDomainObjectAction action)
 {
     return(new ApplicationState(currentState.DomainObjects, action.Id));
 }