Beispiel #1
0
 static void Main(string[] args) //console entry point
 {
     WorkerRole wr = new WorkerRole();
     if (wr.OnStart())
         wr.Run();
     wr.OnStop();
 }
Beispiel #2
0
        static void Main(string[] args) //console entry point
        {
            WorkerRole wr = new WorkerRole();

            if (wr.OnStart())
            {
                wr.Run();
            }
            wr.OnStop();
        }