Skip to content

Commit

Permalink
#605 Match Close method without paramters
Browse files Browse the repository at this point in the history
  • Loading branch information
Nigel Sampson committed Jun 28, 2019
1 parent 22babb9 commit 5f07174
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Caliburn.Micro.Platform/XamlPlatformProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ public virtual Func<CancellationToken, Task> GetViewCloseAction(object viewModel
#if WINDOWS_UWP
var closeMethod = viewType.GetRuntimeMethod("Close", new Type[0]);
#else
var closeMethod = viewType.GetMethod("Close");
var closeMethod = viewType.GetMethod("Close", new Type[0]);
#endif
if (closeMethod != null)
return ct => {
Expand Down

0 comments on commit 5f07174

Please sign in to comment.