diff --git a/GalaSoft.MvvmLight/GalaSoft.MvvmLight (PCL)/Command/RelayCommand.cs b/GalaSoft.MvvmLight/GalaSoft.MvvmLight (PCL)/Command/RelayCommand.cs
index d8a4e36..86da828 100644
--- a/GalaSoft.MvvmLight/GalaSoft.MvvmLight (PCL)/Command/RelayCommand.cs
+++ b/GalaSoft.MvvmLight/GalaSoft.MvvmLight (PCL)/Command/RelayCommand.cs
@@ -58,7 +58,8 @@ namespace GalaSoft.MvvmLight.Command
/// Initializes a new instance of the RelayCommand class that
/// can always execute.
///
- /// The execution logic.
+ /// The execution logic. IMPORTANT: Note that closures are not supported at the moment
+ /// due to the use of WeakActions (see http://stackoverflow.com/questions/25730530/).
/// If the execute argument is null.
public RelayCommand(Action execute)
: this(execute, null)
@@ -68,9 +69,11 @@ namespace GalaSoft.MvvmLight.Command
///
/// Initializes a new instance of the RelayCommand class.
///
- /// The execution logic.
+ /// The execution logic. IMPORTANT: Note that closures are not supported at the moment
+ /// due to the use of WeakActions (see http://stackoverflow.com/questions/25730530/).
/// The execution status logic.
- /// If the execute argument is null.
+ /// If the execute argument is null. IMPORTANT: Note that closures are not supported at the moment
+ /// due to the use of WeakActions (see http://stackoverflow.com/questions/25730530/).
public RelayCommand(Action execute, Func canExecute)
{
if (execute == null)
diff --git a/GalaSoft.MvvmLight/GalaSoft.MvvmLight (PCL)/Command/RelayCommandGeneric.cs b/GalaSoft.MvvmLight/GalaSoft.MvvmLight (PCL)/Command/RelayCommandGeneric.cs
index 9038983..959bd00 100644
--- a/GalaSoft.MvvmLight/GalaSoft.MvvmLight (PCL)/Command/RelayCommandGeneric.cs
+++ b/GalaSoft.MvvmLight/GalaSoft.MvvmLight (PCL)/Command/RelayCommandGeneric.cs
@@ -55,7 +55,8 @@ namespace GalaSoft.MvvmLight.Command
/// Initializes a new instance of the RelayCommand class that
/// can always execute.
///
- /// The execution logic.
+ /// The execution logic. IMPORTANT: Note that closures are not supported at the moment
+ /// due to the use of WeakActions (see http://stackoverflow.com/questions/25730530/).
/// If the execute argument is null.
public RelayCommand(Action execute)
: this(execute, null)
@@ -65,8 +66,10 @@ namespace GalaSoft.MvvmLight.Command
///
/// Initializes a new instance of the RelayCommand class.
///
- /// The execution logic.
- /// The execution status logic.
+ /// The execution logic. IMPORTANT: Note that closures are not supported at the moment
+ /// due to the use of WeakActions (see http://stackoverflow.com/questions/25730530/).
+ /// The execution status logic. IMPORTANT: Note that closures are not supported at the moment
+ /// due to the use of WeakActions (see http://stackoverflow.com/questions/25730530/).
/// If the execute argument is null.
public RelayCommand(Action execute, Func canExecute)
{
diff --git a/GalaSoft.MvvmLight/GalaSoft.MvvmLight (PCL)/Messaging/IMessenger.cs b/GalaSoft.MvvmLight/GalaSoft.MvvmLight (PCL)/Messaging/IMessenger.cs
index eed09af..ca8bce6 100644
--- a/GalaSoft.MvvmLight/GalaSoft.MvvmLight (PCL)/Messaging/IMessenger.cs
+++ b/GalaSoft.MvvmLight/GalaSoft.MvvmLight (PCL)/Messaging/IMessenger.cs
@@ -36,7 +36,8 @@ namespace GalaSoft.MvvmLight.Messaging
/// for.
/// The recipient that will receive the messages.
/// The action that will be executed when a message
- /// of type TMessage is sent.
+ /// of type TMessage is sent. IMPORTANT: Note that closures are not supported at the moment
+ /// due to the use of WeakActions (see http://stackoverflow.com/questions/25730530/).
void Register(object recipient, Action action);
///
@@ -58,7 +59,8 @@ namespace GalaSoft.MvvmLight.Messaging
/// get the message. Similarly, messages sent without any token, or with a different
/// token, will not be delivered to that recipient.
/// The action that will be executed when a message
- /// of type TMessage is sent.
+ /// of type TMessage is sent. IMPORTANT: Note that closures are not supported at the moment
+ /// due to the use of WeakActions (see http://stackoverflow.com/questions/25730530/).
void Register(object recipient, object token, Action action);
///
@@ -91,7 +93,8 @@ namespace GalaSoft.MvvmLight.Messaging
/// and ExecuteOrderMessage to the recipient that registered.
///
/// The action that will be executed when a message
- /// of type TMessage is sent.
+ /// of type TMessage is sent. IMPORTANT: Note that closures are not supported at the moment
+ /// due to the use of WeakActions (see http://stackoverflow.com/questions/25730530/).
void Register(object recipient, object token, bool receiveDerivedMessagesToo, Action action);
///
@@ -118,7 +121,8 @@ namespace GalaSoft.MvvmLight.Messaging
/// and ExecuteOrderMessage to the recipient that registered.
///
/// The action that will be executed when a message
- /// of type TMessage is sent.
+ /// of type TMessage is sent. IMPORTANT: Note that closures are not supported at the moment
+ /// due to the use of WeakActions (see http://stackoverflow.com/questions/25730530/).
void Register(object recipient, bool receiveDerivedMessagesToo, Action action);
///
diff --git a/GalaSoft.MvvmLight/GalaSoft.MvvmLight (PCL)/Messaging/Messenger.cs b/GalaSoft.MvvmLight/GalaSoft.MvvmLight (PCL)/Messaging/Messenger.cs
index 8b2fcfa..01407d8 100644
--- a/GalaSoft.MvvmLight/GalaSoft.MvvmLight (PCL)/Messaging/Messenger.cs
+++ b/GalaSoft.MvvmLight/GalaSoft.MvvmLight (PCL)/Messaging/Messenger.cs
@@ -95,7 +95,8 @@ namespace GalaSoft.MvvmLight.Messaging
/// for.
/// The recipient that will receive the messages.
/// The action that will be executed when a message
- /// of type TMessage is sent.
+ /// of type TMessage is sent. IMPORTANT: Note that closures are not supported at the moment
+ /// due to the use of WeakActions (see http://stackoverflow.com/questions/25730530/).
public virtual void Register(object recipient, Action action)
{
Register(recipient, null, false, action);
@@ -125,7 +126,8 @@ namespace GalaSoft.MvvmLight.Messaging
/// and ExecuteOrderMessage to the recipient that registered.
///
/// The action that will be executed when a message
- /// of type TMessage is sent.
+ /// of type TMessage is sent. IMPORTANT: Note that closures are not supported at the moment
+ /// due to the use of WeakActions (see http://stackoverflow.com/questions/25730530/).
public virtual void Register(object recipient, bool receiveDerivedMessagesToo, Action action)
{
Register(recipient, null, receiveDerivedMessagesToo, action);
@@ -148,7 +150,8 @@ namespace GalaSoft.MvvmLight.Messaging
/// get the message. Similarly, messages sent without any token, or with a different
/// token, will not be delivered to that recipient.
/// The action that will be executed when a message
- /// of type TMessage is sent.
+ /// of type TMessage is sent. IMPORTANT: Note that closures are not supported at the moment
+ /// due to the use of WeakActions (see http://stackoverflow.com/questions/25730530/).
public virtual void Register(object recipient, object token, Action action)
{
Register(recipient, token, false, action);
@@ -184,7 +187,8 @@ namespace GalaSoft.MvvmLight.Messaging
/// and ExecuteOrderMessage to the recipient that registered.
///
/// The action that will be executed when a message
- /// of type TMessage is sent.
+ /// of type TMessage is sent. IMPORTANT: Note that closures are not supported at the moment
+ /// due to the use of WeakActions (see http://stackoverflow.com/questions/25730530/).
public virtual void Register(
object recipient,
object token,
diff --git a/GalaSoft.MvvmLight/GalaSoft.MvvmLight.Platform (Android)/Helpers/BindingGeneric.cs b/GalaSoft.MvvmLight/GalaSoft.MvvmLight.Platform (Android)/Helpers/BindingGeneric.cs
index 00004de..3f79e82 100644
--- a/GalaSoft.MvvmLight/GalaSoft.MvvmLight.Platform (Android)/Helpers/BindingGeneric.cs
+++ b/GalaSoft.MvvmLight/GalaSoft.MvvmLight.Platform (Android)/Helpers/BindingGeneric.cs
@@ -223,7 +223,9 @@ namespace GalaSoft.MvvmLight.Helpers
/// values).
///
/// A func that will be called with the source
- /// property's value, and will return the target property's value.
+ /// property's value, and will return the target property's value.
+ /// IMPORTANT: Note that closures are not supported at the moment
+ /// due to the use of WeakActions (see http://stackoverflow.com/questions/25730530/).
/// The Binding instance.
public Binding ConvertSourceToTarget(Func convert)
{
@@ -239,7 +241,9 @@ namespace GalaSoft.MvvmLight.Helpers
/// values).
///
/// A func that will be called with the source
- /// property's value, and will return the target property's value.
+ /// property's value, and will return the target property's value.
+ /// IMPORTANT: Note that closures are not supported at the moment
+ /// due to the use of WeakActions (see http://stackoverflow.com/questions/25730530/).
/// The Binding instance.
/// This method is inactive on OneTime or OneWay bindings.
public Binding ConvertTargetToSource(Func convertBack)
@@ -694,7 +698,9 @@ namespace GalaSoft.MvvmLight.Helpers
/// Defines an action that will be executed every time that the binding value
/// changes.
///
- /// The action that will be executed when the binding changes.
+ /// The action that will be executed when the binding changes.
+ /// IMPORTANT: Note that closures are not supported at the moment
+ /// due to the use of WeakActions (see http://stackoverflow.com/questions/25730530/).
/// The Binding instance.
/// When WhenSourceChanges is called on
/// a binding which already has a target property set.