Hi!
I would like a parameter to be bound to a textBox's Text property. In such case, I don't see any way for CM to distinguish if the parameter is already evaluated or not.
E.g.: if the user types special values, such as "$datacontext", the parameter's value is interpreted.
To overcome this problem, the EvaluateParameter method should probably changed to accept an entire Caliburn.Micro.Parameter as input (not only its properties). This would allow implementors of EvaluateParameter to add custom logic, such as to check for other properties (coming from object derived from Caliburn.Micro.Parameter).
I would like a parameter to be bound to a textBox's Text property. In such case, I don't see any way for CM to distinguish if the parameter is already evaluated or not.
E.g.: if the user types special values, such as "$datacontext", the parameter's value is interpreted.
To overcome this problem, the EvaluateParameter method should probably changed to accept an entire Caliburn.Micro.Parameter as input (not only its properties). This would allow implementors of EvaluateParameter to add custom logic, such as to check for other properties (coming from object derived from Caliburn.Micro.Parameter).