diff options
author | fcolin | 2007-02-01 11:59:19 +0000 |
---|---|---|
committer | fcolin | 2007-02-01 11:59:19 +0000 |
commit | 31a4ba441a313dca7821cae97378ac77b90068cc (patch) | |
tree | 0a1ce34e3217d3810cff6d86c8d7e215b783975c /CSharp/Ivy/IvyPPC/IvyEventArgs.cs | |
parent | cbf21e890ed2df9dc964bd017b48da8e94e2c608 (diff) | |
download | ivy-csharp-31a4ba441a313dca7821cae97378ac77b90068cc.zip ivy-csharp-31a4ba441a313dca7821cae97378ac77b90068cc.tar.gz ivy-csharp-31a4ba441a313dca7821cae97378ac77b90068cc.tar.bz2 ivy-csharp-31a4ba441a313dca7821cae97378ac77b90068cc.tar.xz |
suppression niveaux
Diffstat (limited to 'CSharp/Ivy/IvyPPC/IvyEventArgs.cs')
-rw-r--r-- | CSharp/Ivy/IvyPPC/IvyEventArgs.cs | 84 |
1 files changed, 0 insertions, 84 deletions
diff --git a/CSharp/Ivy/IvyPPC/IvyEventArgs.cs b/CSharp/Ivy/IvyPPC/IvyEventArgs.cs deleted file mode 100644 index e394802..0000000 --- a/CSharp/Ivy/IvyPPC/IvyEventArgs.cs +++ /dev/null @@ -1,84 +0,0 @@ -using System;
-using System.Collections.Generic;
-using System.Text;
-
-namespace IvyBus
-{
- /// <summary> The EventArgs Classes
- /// </summary>
- ///
- public class IvyEventArgs : EventArgs
- {
- private IvyClient client;
- private int id;
- private string arg;
-
- public IvyClient Client
- {
- get { return client; }
- }
-
- public int Id
- {
- get { return id; }
- }
-
- public string Argument
- {
- get { return arg; }
- }
- public IvyEventArgs(IvyClient app, int id, string arg)
- {
- this.client = app;
- this.id = id;
- this.arg = arg;
- }
- }
- public class IvyDieEventArgs : IvyEventArgs
- {
- /* return value for Die Event */
- private bool forceExit;
-
- public bool ForceExit
- {
- get { return forceExit; }
- set { forceExit = value; }
- }
- public IvyDieEventArgs(IvyClient app, int id, string arg)
- : base(app, id, arg)
- {
- forceExit = true;
- }
- }
- public class IvyMessageEventArgs : EventArgs
- {
- private IvyClient client;
- private int id;
- private string[] args;
-
- public IvyClient Client
- {
- get { return client; }
- }
-
- public int Id
- {
- get { return id; }
- }
-
- public string[] Arguments
- {
- get { return args; }
- }
- public string this[int i]
- {
- get { return args[i]; }
- }
- public IvyMessageEventArgs(IvyClient app, int id, string[] args)
- {
- this.client = app;
- this.id = id;
- this.args = args;
- }
- }
-}
|