Пример #1
0
        static void Main(string[] args)
        {
            ScheduleServer       scheduleServer = new ScheduleServer();
            ScheduleServerFacade facadeServer   = new ScheduleServerFacade(scheduleServer);

            facadeServer.StartServer();
            Console.WriteLine("Start working......");
            Console.WriteLine("After work done.........");
            facadeServer.StopServer();

            Console.Read();
        }
Пример #2
0
 public ScheduleServerFacade(ScheduleServer scheduleServer)
 {
     this.scheduleServer = scheduleServer;
 }