예제 #1
0
 public UserState(
     AsyncOperationState <User, Unit> registration,
     AsyncOperationState <User, AccessProvider> login,
     AsyncOperationState <User, object> edit,
     User user
     )
 {
     Registration = registration;
     Login        = login;
     Edit         = edit;
     User         = user;
 }
예제 #2
0
 public PlacesData(
     AsyncOperationState <Place, int> currentPlaceState,
     AsyncOperationState <IList <Place>, Criteria> placesListState,
     AsyncOperationState <Report, Unit> reportState,
     AsyncOperationState <WrongPlaceReport, Unit> wrongPlaceReport,
     AsyncOperationState <IList <Place>, long> usersPlacesListState
     )
 {
     CurrentPlaceState    = currentPlaceState;
     PlacesListState      = placesListState;
     ReportState          = reportState;
     WrongPlaceReport     = wrongPlaceReport;
     UsersPlacesListState = usersPlacesListState;
 }