Exemple #1
0
        public static void Main(string[] args)
        {
            var infoService = ToyNS.GetServiceReference <IInfoService>("ROINFO");

            Console.WriteLine("Service type is: " + infoService.ServiceType);

            Console.WriteLine("Road information from InfoService: " + infoService.getRoadInfo(69));
        }
Exemple #2
0
        public static void Main(string[] args)
        {
            IIdlTestService infoService = new IdlTestService();

            ToyNS.RegisterAndStart("IDL", infoService);
        }
Exemple #3
0
        public static void Main2(string[] args)
        {
            IInfoService infoService = new InfoService();

            ToyNS.RegisterAndStart("ROINFO", infoService);
        }