зеркало из https://github.com/microsoft/MIMWAL.git
Trimming any spaces around expressions so as to avoid unnecessary invalid expression errors.
This commit is contained in:
Родитель
1de849ec37
Коммит
fd1ddef2b7
|
@ -74,7 +74,7 @@ namespace MicrosoftServices.IdentityManagement.WorkflowActivityLibrary.UI.FormCo
|
|||
|
||||
set
|
||||
{
|
||||
this.textBoxControl.Text = value;
|
||||
this.textBoxControl.Text = !string.IsNullOrEmpty(value) ? value.Trim() : value;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -30,8 +30,8 @@ namespace MicrosoftServices.IdentityManagement.WorkflowActivityLibrary.Definitio
|
|||
/// <param name="check">if set to true, the right-hand side can be assigned null value.</param>
|
||||
public Definition(string left, string right, bool check)
|
||||
{
|
||||
this.Left = left;
|
||||
this.Right = right;
|
||||
this.Left = !string.IsNullOrEmpty(left) ? left.Trim() : left;
|
||||
this.Right = !string.IsNullOrEmpty(right) ? right.Trim() : right;
|
||||
this.Check = check;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче