Example #1
0
        static void Main(string[] args)
        {
            RealAppMarketClass   AppMarket      = new RealAppMarketClass();
            CachedAppMarketClass ProxyAppMarket = new CachedAppMarketClass(AppMarket);
            AppManager           manager        = new AppManager(ProxyAppMarket);

            manager.ReactOnUserInput(32);
            Console.WriteLine("----------------------------------");
            Console.WriteLine("----------------------------------");
            Console.WriteLine("----------------------------------");
            Console.WriteLine("----------------------------------");
            manager.ReactOnUserInput(32);
            Console.ReadKey();
        }
Example #2
0
 public CachedAppMarketClass(RealAppMarketClass service)
 {
     this.service = service;
 }