From 45a1131310664ba93d13b257260b22781314c5de Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 09:57:21 +0000 Subject: Utilisateur : Fcolin Date : 30/06/06 Heure : 13:40 Archivé dans $/CSharp/Ivy/Ivy Commentaire: gestion designer (vss 8) --- CSharp/Ivy/IvyPPC/IvyBindingAttribute.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'CSharp/Ivy/IvyPPC/IvyBindingAttribute.cs') 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); } -- cgit v1.1