summaryrefslogtreecommitdiff
path: root/CSharp
diff options
context:
space:
mode:
authorfcolin2007-02-01 09:57:21 +0000
committerfcolin2007-02-01 09:57:21 +0000
commit45a1131310664ba93d13b257260b22781314c5de (patch)
treecb314cdf6191bf5a57051222f1a4f59402583458 /CSharp
parentefd7af76297ceb2a75519b784b835dc8741d0054 (diff)
downloadivy-csharp-45a1131310664ba93d13b257260b22781314c5de.zip
ivy-csharp-45a1131310664ba93d13b257260b22781314c5de.tar.gz
ivy-csharp-45a1131310664ba93d13b257260b22781314c5de.tar.bz2
ivy-csharp-45a1131310664ba93d13b257260b22781314c5de.tar.xz
Utilisateur : Fcolin Date : 30/06/06 Heure : 13:40 Archivé dans $/CSharp/Ivy/Ivy Commentaire: gestion designer (vss 8)
Diffstat (limited to 'CSharp')
-rw-r--r--CSharp/Ivy/IvyPPC/IvyBindingAttribute.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/CSharp/Ivy/IvyPPC/IvyBindingAttribute.cs b/CSharp/Ivy/IvyPPC/IvyBindingAttribute.cs
index beaf475..90c44ce 100644
--- a/CSharp/Ivy/IvyPPC/IvyBindingAttribute.cs
+++ b/CSharp/Ivy/IvyPPC/IvyBindingAttribute.cs
@@ -14,10 +14,10 @@ namespace IvyBus
public string GetExpression(object obj)
{
if (obj == null) return string.Format(expression);
- string[] values = new string[args.Length];
+ object[] values = new object[args.Length];
for (int i = 0; i < args.Length; i++)
{
- values[i] = (string)obj.GetType().GetProperty(args[i]).GetValue(obj,null);
+ values[i] = obj.GetType().GetProperty(args[i]).GetValue(obj,null);
}
return string.Format(expression,values);
}