Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make model/dispatch available to getWindow in Binding.subModelWin #126

Merged
merged 2 commits into from
Sep 26, 2019

Conversation

cmeeren
Copy link
Member

@cmeeren cmeeren commented Sep 25, 2019

Closes #33

@bender2k14 does this PR look good to you from a boxing/unboxing/type perspective?

By the way, the diff "boundaries" are a bit weird around the new Binding overloads. I have simply changed the getWindow signature for each of the three subModelWin overloads (with slight edits to the docs), and made copies of each of them with the old signature, delegating to the new. The diff makes it seem like I have made extensive edits to the docs because it has identified the "wrong boundaries", so to speak.

src/Elmish.WPF/Binding.fs Outdated Show resolved Hide resolved
@TysonMN
Copy link
Member

TysonMN commented Sep 26, 2019

@bender2k14 does this PR look good to you from a boxing/unboxing/type perspective?

Yep, look perfect :)

The diff makes it seem like I have made extensive edits to the docs because it has identified the "wrong boundaries", so to speak.

I hate when that happens :(

@cmeeren cmeeren merged commit ebffbdf into master Sep 26, 2019
@cmeeren cmeeren deleted the subModelWin-args branch September 26, 2019 06:24
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.

Binding to events?
2 participants