diff options
-rw-r--r-- | CSharp/Ivy/IvyPPC/IvyBindingAttribute.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CSharp/Ivy/IvyPPC/IvyBindingAttribute.cs b/CSharp/Ivy/IvyPPC/IvyBindingAttribute.cs index 93b9641..beaf475 100644 --- a/CSharp/Ivy/IvyPPC/IvyBindingAttribute.cs +++ b/CSharp/Ivy/IvyPPC/IvyBindingAttribute.cs @@ -13,7 +13,7 @@ namespace IvyBus // translate part of expression to object property
public string GetExpression(object obj)
{
- if (obj == null) return "";
+ if (obj == null) return string.Format(expression);
string[] values = new string[args.Length];
for (int i = 0; i < args.Length; i++)
{
|