ReportingService/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 .
static void Main(string[] args)
        {
            if (Environment.UserInteractive)
            {
                ReportGeneratorService reportGeneratorService = new ReportGeneratorService();
                reportGeneratorService.TestStartupAndStop(args);
            }
            else
            {
                ServiceBase.Run(new ReportGeneratorService());
            }
        }
static void Main ( string [ ] args ) { if ( Environment . UserInteractive ) { ReportGeneratorService reportGeneratorService = new ReportGeneratorService ( ) ; reportGeneratorService . TestStartupAndStop ( args ) ; } else { ServiceBase . Run ( new ReportGeneratorService ( ) ) ; } }
The main entry point for the application.
The main entry point for the application .
args
string[]