From 632d54e0dbf5e405258be7afffbaa48942c06cbc Mon Sep 17 00:00:00 2001 From: Owen Fraser-Green Date: Tue, 23 Mar 2004 18:07:48 +0000 Subject: Added InterfaceProxy to Mono bindings to avoid having to generate a proxy for every registered object. Also added object_path functions to dbus-message. --- mono/Message.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'mono/Message.cs') diff --git a/mono/Message.cs b/mono/Message.cs index 2f5270dd..a1ff220c 100644 --- a/mono/Message.cs +++ b/mono/Message.cs @@ -35,6 +35,7 @@ namespace DBus protected string pathName = null; protected string interfaceName = null; protected string name = null; + private string key= null; protected Message() { @@ -263,6 +264,17 @@ namespace DBus } } + public string Key + { + get { + if (this.key == null) { + this.key = Name + " " + Arguments; + } + + return this.key; + } + } + public Arguments Arguments { get -- cgit