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)); }
public static void Main(string[] args) { IIdlTestService infoService = new IdlTestService(); ToyNS.RegisterAndStart("IDL", infoService); }
public static void Main2(string[] args) { IInfoService infoService = new InfoService(); ToyNS.RegisterAndStart("ROINFO", infoService); }