コード例 #1
0
ファイル: Program.cs プロジェクト: kaurbanski/DesignPatterns
        static void Main(string[] args)
        {
            IImageInterface proxyImage = new ImageProxy();

            Console.WriteLine(proxyImage.GetImage());

            Console.WriteLine(proxyImage.GetImage());
            Console.ReadLine();
        }
コード例 #2
0
 private void init()
 {
     imgProxy = new ImageProxy();
 }