コード例 #1
0
 static void Main( string[] args )
 {
     var service = new ServiceHostEngine();
     service.Start();
     System.Console.WriteLine( "Press any key to stop the services" );
     System.Console.ReadKey();
 }
コード例 #2
0
        static void Main(string[] args)
        {
            var service = new ServiceHostEngine();

            service.Start();
            System.Console.WriteLine("Press any key to stop the services");
            System.Console.ReadKey();
        }