Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add AppAction registration helpers.#3009

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
dansiegel merged 1 commit intomasterfromdev/ds/app-actions
Nov 17, 2023
Merged

Conversation

@dansiegel
Copy link
Member

Description of Change

Add App Action helpers for Prism. This helps shortcut some of the overhead that you would need when trying to provide a callback such as ensuring this runs on the UI Thread, getting theINavigationService and optionally also theIContainerProvider if you need to resolve additional services as part of the App Action callback.

Bugs Fixed

  • n/a

API Changes

Added:

  • static PrismAppBuilder ConfigureViewTypeToViewModelTypeResolver(this PrismAppBuilder builder, Func<Type, Type> viewModelTypeResolver)
  • static PrismAppBuilder RegisterAppAction(this PrismAppBuilder builder, AppAction appAction, Func<IContainerProvider, INavigationService, AppAction, Task> callback)
  • static PrismAppBuilder RegisterAppAction(this PrismAppBuilder builder, AppAction appAction, Func<INavigationService, AppAction, Task> callback)

@dansiegeldansiegel added this to thePrism 9.0 milestoneNov 17, 2023
@dansiegeldansiegel merged commit763eb88 intomasterNov 17, 2023
@brianlagunasbrianlagunas deleted the dev/ds/app-actions branchNovember 17, 2023 19:26
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@brianlagunasbrianlagunasbrianlagunas approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

Prism 9.0

Development

Successfully merging this pull request may close these issues.

3 participants

@dansiegel@brianlagunas

[8]ページ先頭

©2009-2025 Movatter.jp