Amazon.KinesisTap/Program.cs
/// <summary>
/// The main entry point for the application.
/// </summary>
The main entry point for the application.
The main entry point for the application .
[STAThread]
        static void Main()
        {
            AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
            WindowsStartup.Start();
#if DEBUG
            Application.Run(new frmMain());
#else
            ServiceBase[] ServicesToRun;
            ServicesToRun = new ServiceBase[]
            {
                new KinesisTapService()
            };
            ServiceBase.Run(ServicesToRun);
#endif
        }
[ STAThread ] static void Main ( ) { AppDomain . CurrentDomain . UnhandledException += new UnhandledExceptionEventHandler ( CurrentDomain_UnhandledException ) ; WindowsStartup . Start ( ) ; if DEBUG Application . Run ( new frmMain ( ) ) ; else ServiceBase [ ] ServicesToRun ; ServicesToRun = new ServiceBase [ ] { new KinesisTapService ( ) } ; ServiceBase . Run ( ServicesToRun ) ; endif }
The main entry point for the application.
The main entry point for the application .