diff options
author | fcolin | 2007-02-01 09:57:17 +0000 |
---|---|---|
committer | fcolin | 2007-02-01 09:57:17 +0000 |
commit | 4c83f7e09c4e2b5b4da81a47bf29d1f67e3f2f89 (patch) | |
tree | e8fce1ed38350fa5ce2e0814283b0d976bfe44d9 /CSharp/Ivy/IvyPPC/IvyBindingAttribute.cs | |
parent | 366d80659876599067c521b6fdb2606b80f31143 (diff) | |
download | ivy-csharp-4c83f7e09c4e2b5b4da81a47bf29d1f67e3f2f89.zip ivy-csharp-4c83f7e09c4e2b5b4da81a47bf29d1f67e3f2f89.tar.gz ivy-csharp-4c83f7e09c4e2b5b4da81a47bf29d1f67e3f2f89.tar.bz2 ivy-csharp-4c83f7e09c4e2b5b4da81a47bf29d1f67e3f2f89.tar.xz |
Utilisateur : Fcolin Date : 2/06/06 Heure : 16:47 Archivé dans $/CSharp/Ivy/Ivy Commentaire: Mise en conformite du code avec les guidelines , et changement prototype evenements (vss 6)
Diffstat (limited to 'CSharp/Ivy/IvyPPC/IvyBindingAttribute.cs')
-rw-r--r-- | CSharp/Ivy/IvyPPC/IvyBindingAttribute.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/CSharp/Ivy/IvyPPC/IvyBindingAttribute.cs b/CSharp/Ivy/IvyPPC/IvyBindingAttribute.cs index a68b1f9..93b9641 100644 --- a/CSharp/Ivy/IvyPPC/IvyBindingAttribute.cs +++ b/CSharp/Ivy/IvyPPC/IvyBindingAttribute.cs @@ -7,12 +7,13 @@ namespace IvyBus [AttributeUsage(AttributeTargets.Method,AllowMultiple = true)]
public sealed class IvyBindingAttribute : Attribute
{
- string expression;
- string[] args;
+ private string expression;
+ private string[] args;
// translate part of expression to object property
public string GetExpression(object obj)
{
+ if (obj == null) return "";
string[] values = new string[args.Length];
for (int i = 0; i < args.Length; i++)
{
|