Skip to content

Add WPF hosted mode - #238

Merged
jeromelaban merged 7 commits into
masterfrom
dev/jela/hosted-mode
Oct 3, 2018
Merged

jeromelaban merged 7 commits into
masterfrom
dev/jela/hosted-mode

Conversation

@jeromelaban

Copy link
Copy Markdown
Member

PR Type

  • Feature

This PR adds the ability to run the WebAssembly-scoped netstandard2.0 code of Uno.UI inside of the WPF host to allow for easier debugging.

/// <summary>
/// Provide a action that will delegate the dispach of CoreDispatcher work
/// </summary>
public static Action<Action> DispatchOverride;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm... maybe this should at least be marked EditorBrowsable never

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, I'll add that.

@davidjohnoliver

Copy link
Copy Markdown
Contributor

Interesting! Does the JS layer work the same way as on WASM?

@jeromelaban

Copy link
Copy Markdown
Member Author

It should work the same way yes, with a little catch about the async dispatch, but not sure yet how this is going to affect the behavior.

@jeromelaban
jeromelaban force-pushed the dev/jela/hosted-mode branch from 0aeecd7 to a269bfd Compare October 3, 2018 17:42
@jeromelaban
jeromelaban merged commit 43f9d4c into master Oct 3, 2018
@jeromelaban
jeromelaban deleted the dev/jela/hosted-mode branch October 3, 2018 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants