public UserState( AsyncOperationState <User, Unit> registration, AsyncOperationState <User, AccessProvider> login, AsyncOperationState <User, object> edit, User user ) { Registration = registration; Login = login; Edit = edit; User = user; }
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; }