diff options
author | fcolin | 2007-02-01 09:58:45 +0000 |
---|---|---|
committer | fcolin | 2007-02-01 09:58:45 +0000 |
commit | 0eaf5cecce8bdca51fa113bae4560a8e32975028 (patch) | |
tree | 4ff024914835df38ff3ff9a38b36e44b634bbdaf /CSharp/Ivy/IvyPPC/IvyClient.cs | |
parent | aea7b88c97d8cd57fdf7ba735eddc457c49aa09d (diff) | |
download | ivy-csharp-0eaf5cecce8bdca51fa113bae4560a8e32975028.zip ivy-csharp-0eaf5cecce8bdca51fa113bae4560a8e32975028.tar.gz ivy-csharp-0eaf5cecce8bdca51fa113bae4560a8e32975028.tar.bz2 ivy-csharp-0eaf5cecce8bdca51fa113bae4560a8e32975028.tar.xz |
Utilisateur : Fcolin Date : 10/04/06 Heure : 18:45 Archivé dans $/CSharp/Ivy/Ivy Commentaire: optimisation diverse suite a passage de Code Analysis (vss 42)
Diffstat (limited to 'CSharp/Ivy/IvyPPC/IvyClient.cs')
-rw-r--r-- | CSharp/Ivy/IvyPPC/IvyClient.cs | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/CSharp/Ivy/IvyPPC/IvyClient.cs b/CSharp/Ivy/IvyPPC/IvyClient.cs index 649ea80..1a5a350 100644 --- a/CSharp/Ivy/IvyPPC/IvyClient.cs +++ b/CSharp/Ivy/IvyPPC/IvyClient.cs @@ -41,14 +41,13 @@ namespace IvyBus }
- public string[] Regexps
+ public StringCollection Regexps
{
get
{
- int i = 0;
- String[] tab = new String[bindings.Count];
+ StringCollection tab = new StringCollection();
foreach( IvyBindingBase bind in bindings.Values )
- tab[i++] = bind.expression;
+ tab.Add(bind.expression);
return tab;
}
@@ -483,7 +482,7 @@ namespace IvyBus [Conditional("DEBUG")]
private void traceDebug(String s)
{
- Trace.Assert(!Ivy.VerboseDebug, "-->IvyClient " + bus.appName + ":" + appName + "<-- " + s);
+ Trace.Assert(!Ivy.VerboseDebug, "-->IvyClient " + this.bus.appName + ":" + appName + "<-- " + s);
}
internal bool isPinging = false;
|