From 3c9d0c18a19de1f1ec1c4e77f6b89fdf84d39605 Mon Sep 17 00:00:00 2001
From: fcolin
Date: Fri, 10 Oct 2008 15:45:54 +0000
Subject: Ajout de commentaire sur les menbres public
---
IvyControl/IvyControl.cs | 35 +++++++++--------------------------
1 file changed, 9 insertions(+), 26 deletions(-)
(limited to 'IvyControl/IvyControl.cs')
diff --git a/IvyControl/IvyControl.cs b/IvyControl/IvyControl.cs
index a432914..20b43be 100644
--- a/IvyControl/IvyControl.cs
+++ b/IvyControl/IvyControl.cs
@@ -25,6 +25,7 @@ namespace IvyBus
#if (!PocketPC)
using System.ComponentModel.Design;
+ using System.Collections.ObjectModel;
#endif
// using System.Drawing.Design;
@@ -202,24 +203,6 @@ namespace IvyBus
}
}
-
- /// AppPriority the Application Priority: the clients list is sorted against priority
-#if (!PocketPC)
- [Category("Ivy")]
-#endif
- [DefaultValue(Ivy.DEFAULT_PRIORITY)]
- public ushort AppPriority
- {
- set
- {
- ivy.AppPriority = value;
- }
- get
- {
- return ivy.AppPriority;
- }
-
- }
///SentMessageClasses the first word token of sent messages
/// optimise the parsing process when sending messages
@@ -231,7 +214,7 @@ namespace IvyBus
// sinon bug System.String constructor not found !
[Editor("System.Windows.Forms.Design.StringCollectionEditor, System.Design", "System.Drawing.Design.UITypeEditor, System.Drawing")]
#endif
- public List SentMessageFilter
+ public Collection SentMessageFilter
{
get
{
@@ -293,7 +276,7 @@ namespace IvyBus
#endif
Assembly assembly = Assembly.GetCallingAssembly();
if ( assembly != this.GetType().Assembly )
- ivy.BindAttibute(assembly);
+ ivy.BindAttribute(assembly);
}
public IvyControl(IContainer container)
: this()
@@ -303,7 +286,7 @@ namespace IvyBus
//TODO Autobinding attribute
Assembly assembly = Assembly.GetCallingAssembly();
if (assembly != this.GetType().Assembly)
- ivy.BindAttibute(assembly);
+ ivy.BindAttribute(assembly);
}
///
/// Readies the structures for the software bus connexion.
@@ -337,7 +320,7 @@ namespace IvyBus
//TODO Autobinding attribute
Assembly assembly = Assembly.GetCallingAssembly();
if (assembly != this.GetType().Assembly)
- ivy.BindAttibute(assembly);
+ ivy.BindAttribute(assembly);
}
protected override void Dispose(bool disposing)
@@ -375,7 +358,7 @@ namespace IvyBus
return ivy.SendMsg(format, args);
}
//
- public ushort BindMsg(IvyApplicationBinding newbind)
+ public int BindMsg(IvyApplicationBinding newbind)
{
return ivy.BindMsg(newbind);
}
@@ -392,7 +375,7 @@ namespace IvyBus
/// by another agent. A program doesn't receive its own messages.
///
//
- public ushort BindMsg(string regexp, EventHandler callback, params object[] args)
+ public int BindMsg(string regexp, EventHandler callback, params object[] args)
{
return ivy.BindMsg(regexp, callback,args);
}
@@ -401,7 +384,7 @@ namespace IvyBus
/// unsubscribes a regular expression
///
/// the id of the regular expression, returned when it was bound
- public void UnbindMsg(ushort id)
+ public void UnbindMsg(int id)
{
ivy.UnbindMsg(id);
}
@@ -444,7 +427,7 @@ namespace IvyBus
///
/// The name of the Ivy agent you're looking for
///
- public List GetClientsByName(string name)
+ public ReadOnlyCollection GetClientsByName(string name)
{
return ivy.GetClientsByName( name );
--
cgit v1.1