Esempio n. 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();
        }
Esempio n. 2
0
 public YouTubeManager(CachedWebServerClass service)
 {
     this.service = service;
 }