mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-09 06:08:01 +02:00
Mapped CRLF -> LF for consistency.
This commit is contained in:
parent
f14f2196cc
commit
3a78ce1795
1 changed files with 8 additions and 1 deletions
|
|
@ -17,12 +17,17 @@ namespace DBus.Test
|
|||
serverThread.Start();
|
||||
|
||||
connection = Bus.GetSessionBus();
|
||||
service = Service.Get(connection, "org.freedesktop.Test");
|
||||
service = Service.Get(connection, "org.freedesktop.Test");
|
||||
Thread.Sleep (1000);
|
||||
|
||||
TestObject testObject = (TestObject) service.GetObject(typeof(TestObject), "/org/freedesktop/Test/TestObject");
|
||||
|
||||
Console.WriteLine ("Got object [{0}]", testObject);
|
||||
|
||||
System.Console.WriteLine(testObject.Test1("Hello"));
|
||||
|
||||
Console.WriteLine ("Got object [{0}]", testObject);
|
||||
|
||||
//RunTests(testObject);
|
||||
|
||||
return 0;
|
||||
|
|
@ -49,6 +54,8 @@ namespace DBus.Test
|
|||
service = new Service(connection, "org.freedesktop.Test");
|
||||
TestObject testObject = new TestObject();
|
||||
service.RegisterObject(testObject, "/org/freedesktop/Test/TestObject");
|
||||
|
||||
System.Console.WriteLine("Foo!");
|
||||
}
|
||||
|
||||
public void StartServer()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue