コード例 #1
0
        // Token: 0x0600000E RID: 14 RVA: 0x00002CA0 File Offset: 0x00000EA0
        private static void RunConsole()
        {
            Console.WriteLine("Starting {0}, running in console mode.", AntispamUpdateSvc.GetAssemblyName());
            if (AntispamUpdateSvc.waitToContinue)
            {
                Console.WriteLine("Press ENTER to continue startup.");
                Console.ReadLine();
            }
            AntispamUpdateSvc service = new AntispamUpdateSvc();

            ExServiceBase.RunAsConsole(service);
        }
コード例 #2
0
 // Token: 0x0600000D RID: 13 RVA: 0x00002C8C File Offset: 0x00000E8C
 private static void Usage()
 {
     Console.WriteLine("Usage: {0} [-console] [-wait] [-60] [-?]", AntispamUpdateSvc.GetAssemblyName());
 }