Bug 23019 - [NEED] MessagingCenter.SendInternal be made public
Summary: [NEED] MessagingCenter.SendInternal be made public
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 1.2.3
Hardware: All All
: Normal enhancement
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2014-09-15 13:50 UTC by Sten
Modified: 2015-05-21 04:08 UTC (History)
5 users (show)

Tags: all
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Sten 2014-09-15 13:50:23 UTC
Currently MessagingCenter.SendInternal is "internal", so sending a message requires the generic methods to be called, which is very inconvenient (awkward generic method calls through PCL reflection/reflection IoC service) when trying to write an extension that provides message commands, useful for defining messages for toolbar items and button events.

Alternative solution of some other nice way of sending UI messages from XAML would also do, but this is the simplest fix I can see.

Scenario: Allow for XAML definitions for messages to be send from UI handlers (CommandToMessageExtension, ClickToMessageExtension, TapToMessageExtension....)
Comment 1 Stephane Delcroix 2015-05-21 04:08:38 UTC
Thank you for your feature request, we will take your feedback into consideration.