summaryrefslogtreecommitdiff
path: root/CSharp
diff options
context:
space:
mode:
authorfcolin2007-02-01 09:45:51 +0000
committerfcolin2007-02-01 09:45:51 +0000
commit821af4816068de0ac6e4bacad56e0e37b92ea62f (patch)
treecd76731813559ebe9297448d83127dfa8d296be1 /CSharp
parent27d77017ba69ec17f69e69fe1db8dd8e5b3b63da (diff)
downloadivy-csharp-821af4816068de0ac6e4bacad56e0e37b92ea62f.zip
ivy-csharp-821af4816068de0ac6e4bacad56e0e37b92ea62f.tar.gz
ivy-csharp-821af4816068de0ac6e4bacad56e0e37b92ea62f.tar.bz2
ivy-csharp-821af4816068de0ac6e4bacad56e0e37b92ea62f.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')
-rw-r--r--CSharp/Ivy/Ivy/IvyBindingAttribute.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/CSharp/Ivy/Ivy/IvyBindingAttribute.cs b/CSharp/Ivy/Ivy/IvyBindingAttribute.cs
index a68b1f9..93b9641 100644
--- a/CSharp/Ivy/Ivy/IvyBindingAttribute.cs
+++ b/CSharp/Ivy/Ivy/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++)
{