blob: bc5a843d366c4126b76e6b06273d0859b6a04e02 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
namespace Foo
{
using System;
using DBus;
[Interface("org.freedesktop.Test.Echoer")]
public class Echoer
{
[Method]
public virtual string Echo(string message)
{
System.Console.WriteLine("I received: " + message);
return "Reply: " + message;
}
}
}
|