Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            ServiceBootstrapper<TestShell> bootstrapper = new ServiceBootstrapper<TestShell>();
            bootstrapper.Run();

            System.Console.WriteLine("Hit [ENTER] to quit.");

            while (System.Console.ReadKey().Key != ConsoleKey.Enter) ;
        }
Ejemplo n.º 2
0
        static void Main(string[] args)
        {
            ServiceBootstrapper <TestShell> bootstrapper = new ServiceBootstrapper <TestShell>();

            bootstrapper.Run();

            System.Console.WriteLine("Hit [ENTER] to quit.");

            while (System.Console.ReadKey().Key != ConsoleKey.Enter)
            {
                ;
            }
        }
Ejemplo n.º 3
0
 protected void Application_Start(object sender, EventArgs e)
 {
     ServiceBootstrapper serviceBootstrapper = new ServiceBootstrapper();
     serviceBootstrapper.Run();
 }
Ejemplo n.º 4
0
        protected void Application_Start(object sender, EventArgs e)
        {
            ServiceBootstrapper serviceBootstrapper = new ServiceBootstrapper();

            serviceBootstrapper.Run();
        }