Пример #1
0
        static void Main(string[] args)
        {
            RealWebServerClass   PageService     = new RealWebServerClass();
            CachedWebServerClass PageProxyServer = new CachedWebServerClass(PageService);
            YouTubeManager       client          = new YouTubeManager(PageProxyServer);

            client.ReactOnUserInput(21331);
            Console.WriteLine("###########################");
            client.ReactOnUserInput(21331);
            Console.ReadKey();
        }
Пример #2
0
 public CachedWebServerClass(RealWebServerClass service)
 {
     this.service = service;
 }