summaryrefslogtreecommitdiff
path: root/CSharp/Ivy/IvyPPC
diff options
context:
space:
mode:
Diffstat (limited to 'CSharp/Ivy/IvyPPC')
-rw-r--r--CSharp/Ivy/IvyPPC/IvyClient.cs9
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;