Skip to content

Instantly share code, notes, and snippets.

@b-wind
Created September 14, 2020 17:12
Show Gist options
  • Save b-wind/51a57777b1fdb883115880ad66001028 to your computer and use it in GitHub Desktop.
Save b-wind/51a57777b1fdb883115880ad66001028 to your computer and use it in GitHub Desktop.
sequenceDiagram1
sequenceDiagram
HomePageView ->> HomePageViewModel: OnClickExposures
HomePageViewModel ->> ExposureNotificationService: GetExposureCount()
ExposureNotificationService ->> UserDataModel: ExposureInformation.Count()

Note right of UserDataModel: UserDataModel::ExposureInformationに保持される 

UserDataModel -->> ExposureNotificationService: count
ExposureNotificationService -->> HomePageViewModel: count
HomePageViewModel ->> NavigationService: NavigateAsync(ContactedNotifyPage) if count > 0
HomePageViewModel ->> NavigationService: NavigateAsync(NotContactPage) if count = 0
Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment